eth_estimateGas

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.

📘

Supported on both BNB Smart Chain and opBNB Chain.

The format of a BNB Smart Chain endpoint:
https://bsc-mainnet.nodereal.io/v1/{{apiKey}}

https://bsc-testnet.nodereal.io/v1/{{apiKey}}

The format of an opBNB Chain endpoint:

https://opbnb-mainnet.nodereal.io/v1/{{apiKey}}

https://opbnb-testnet.nodereal.io/v1/{{apiKey}}

Language