Binance Smart Chain (BSC)
Method: POST eth_estimateGas
Returns an estimate of the gas required for a transaction to complete. The estimation process does not use gas and the transaction is not added to the blockchain. The resulting estimate can be greater than the amount of gas the transaction ends up using, for reasons including EVM mechanics and node performance.
The eth_estimateGas call does not send a transaction. You must call eth_sendRawTransaction to execute the transaction.
If revert reason is enabled with --revert-reason-enabled, the eth_estimateGas error response will include the revert reason.
object - None
Transaction call object.
Get access to 40+ blockchain nodes right now!GetBlock provides a fast and reliable API connection to full nodes from many leading blockchains.
Email is invalid