estimate_gas
Calculate gas fees for transactions on supported blockchain networks like BSC, Ethereum, and more using recipient address, value, and data inputs. Defaults to BSC mainnet.
Instructions
Estimate the gas cost for a transaction
Input Schema
Name | Required | Description | Default |
---|---|---|---|
data | No | The transaction data as a hex string | |
network | No | Network name (e.g. 'bsc', 'opbnb', 'ethereum', 'base', etc.) or chain ID. Supports others main popular networks. Defaults to BSC mainnet. | bsc |
to | Yes | The recipient address | |
value | No | The amount of ETH to send in ether (e.g., '0.1') |