Estimate a transaction cost
estimate_tx_costCost of one transaction on a chain at a speed tier, by transaction type (transfer, erc20_transfer, swap, nft_mint, deploy) or explicit gas / compute units.
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": {
"chain": "<chain>"
},
"name": "estimate_tx_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | ||
| speed | No | ||
| tx_type | No | ||
| gas_units | No | Override: gas units (EVM) or compute units (Solana) |