Get fee data
rpc_get_fee_dataFetch current gas price, max priority fee, and recent one-block fee history for an EVM chain to estimate transaction costs.
Instructions
Fetch current gas price, max priority fee and a one-block fee history sample.
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": {
"chainId": "<chainId>"
},
"name": "rpc_get_fee_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chainId | Yes | EVM chain ID (for example 1 for Ethereum mainnet) |