blockchain_fees_evm
Get EVM gas fee recommendations and estimates to determine optimal gas parameters for transfers and contract interactions before signing.
Instructions
Get fee recommendations and estimate gas costs for EVM blockchains. Use this before preparing or signing a transaction to determine appropriate gas parameters.
Actions: • get-fee-recommendations: Get recommended gas price tiers (slow/standard/fast) • get-eip-1559-fee-recommendations: Get EIP-1559 fee parameters (baseFee, maxPriorityFee) for supported chains • estimate-native-coin-transfer-gas: Estimate gas for a native coin transfer (e.g. ETH, BNB) • estimate-token-transfer-gas: Estimate gas for an ERC-20/ERC-721 token transfer • estimate-contract-interaction-gas: Estimate gas for a smart contract call
Credits by action (source: OpenAPI): • estimate-contract-interaction-gas: arbitrum 192, avalanche 216, base 144, binance-smart-chain 300, ethereum 120, ethereum-classic 156, optimism 168, polygon 240, tron 180 • estimate-native-coin-transfer-gas: arbitrum 192, avalanche 216, base 144, binance-smart-chain 300, ethereum 120, ethereum-classic 156, optimism 168, polygon 240, tron 180 • estimate-token-transfer-gas: arbitrum 192, avalanche 216, base 144, binance-smart-chain 300, ethereum 120, ethereum-classic 156, optimism 168, polygon 240, tron 180 • get-eip-1559-fee-recommendations: arbitrum 48, avalanche 54, base 36, binance-smart-chain 75, ethereum 30, ethereum-classic 39, optimism 42, polygon 60, tron 45 • get-fee-recommendations: arbitrum 48, avalanche 54, base 36, binance-smart-chain 75, ethereum 30, ethereum-classic 39, optimism 42, polygon 60, tron 45
Credits are indicative only and may change at any time. The actual credits spent for each API request are returned in the response headers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Hex-encoded calldata (required for estimate-contract-interaction-gas) | |
| value | No | Amount in native coin's smallest unit, e.g. wei (required for estimate-native-coin-transfer-gas; optional for estimate-contract-interaction-gas) | |
| action | Yes | Action to perform | |
| amount | No | Token amount to transfer (required for estimate-token-transfer-gas) | |
| context | No | Optional context for the request - echoed back in response | |
| network | Yes | Network name | |
| toAddress | No | Recipient address (required for native coin and token transfer gas estimation) | |
| blockchain | Yes | Blockchain protocol | |
| fromAddress | No | Sender address (required for gas estimation actions) | |
| contractType | No | Token standard: ERC-20 or ERC-721 (estimate-token-transfer-gas only; defaults to ERC-20) | |
| contractAddress | No | Token contract address (required for estimate-token-transfer-gas and estimate-contract-interaction-gas) |