estimate_gas
Estimate gas fees for EVM transactions by specifying recipient, sender, data, value, and network. Get accurate cost projections across Ethereum, BSC, and other chains.
Instructions
Estimate gas for a specific transaction
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"to": "<to>"
},
"name": "estimate_gas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient/contract address | |
| data | No | Transaction data (hex) | |
| from | No | Sender address | |
| value | No | Value in wei | |
| network | No | Network name (e.g. 'bsc', 'opbnb', 'ethereum', 'base', etc.) or chain ID. Supports others main popular networks. Defaults to BSC mainnet. | bsc |