evm fee
buscalc_chain_evm_feeEthereum/EVM EIP-1559 fee: gas used x (base fee + priority fee actually paid), with the priority fee capped by max fee - base fee. Returns wei/gwei/ETH exactly, burned and tip parts, and the upfront max reservation (gas limit x max fee). Put tool fields inside inputs. Supply units or modelVersion only when listed in inputSchema. Follow its required fields and exact choices. Do not pass the REST calculator field inside MCP arguments.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"inputs": {
"gas_used": 21000,
"base_fee_gwei": "20",
"priority_fee_gwei": "1"
}
},
"name": "buscalc_chain_evm_fee"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | Yes | ||
| modelVersion | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | No | ||
| inputs | Yes | ||
| receipt | Yes | ||
| results | Yes | ||
| sourceURL | Yes | ||
| calculator | Yes | ||
| modelVersion | Yes |