Skip to main content

call_base_gas

Function call_base_gas 

Source
fn call_base_gas(spec: SpecId, value: U256) -> u64
Expand description

Intrinsic gas of a call transaction to another account, excluding calldata and access lists

This is 21000 before Amsterdam. From Amsterdam (EIP-2780) it is the sender base cost plus a cold access of the recipient, and an extra charge when value is transferred.