Gas and fee estimate on Base, Ethereum, Arbitrum, Monad (or all compared): cost per action in gas token and USD
base_gasUse when an agent must price, time or route a transaction. Input: optional chain (base default, ethereum, arbitrum, monad, all). Output: JSON base fee, priority tiers (last 20 blocks), suggested maxFeePerGas, block fullness, typical cost of transfer, approve, DEX swap, mint, deploy in gas token (ETH, MON) and USD (Base adds L1 data fee); chain=all adds a compare table and the cheapest chain per action by USD. Example: ?chain=all Price: $0.002 per call, paid in USDC (Base, Monad, Polygon, Arbitrum or Solana) via x402.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "base_gas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Chain (default base); all = the four compared. Bad value → 400 before payment (not charged) |