Skip to main content

TRANSFER_LOG_COST

Constant TRANSFER_LOG_COST 

Source
pub const TRANSFER_LOG_COST: u64 = 1_756;
Expand description

Regular gas cost of the EIP-7708 transfer log emitted for every nonzero-value transfer to a different account.

TRANSFER_LOG_COST = GAS_LOG + 3 * GAS_LOG_TOPIC + 32 * GAS_LOG_DATA_PER_BYTE = 375 + 1_125 + 256 = 1_756.