eth_estimateGas - ApexFusion Nexus Mainnet
Summary
Generates and returns an estimate of how much gas is necessary to allow the transaction to complete. The transaction will not be added to the blockchain.Parameters
1. Transaction Object
From Address
The address the transaction is sent from
Example:
0x12345...To Address
The address the transaction is directed to
Example:
0x12345...Gas Hex
Integer of the gas provided for the transaction execution
Example:
0xffGas Price Hex
Integer of the
gasPrice used for each paid gasExample:
0xffValue Hex
Integer of the value sent with this transaction
Example:
0xffData Bytes
Hash of the method signature and encoded parameters
Example:
0x00000...2. Block Number Quantity or Tag
Hex block number, or the tag
latest, earliest, pending, finalized or safeExample:
latest