Get live Base mainnet gas
get_base_gasGet live Base mainnet gas data (base fee, low/medium/high priority fees) and ETH transfer cost estimate. Each request requires a $0.001 USDC payment via x402.
Instructions
Returns live Base mainnet gas data (base fee, low/medium/high priority fees, and an ETH transfer cost estimate). IMPORTANT: every call makes a REAL $0.001 USDC payment on Base mainnet via the x402 protocol and requires a funded buyer wallet (BUYER_PRIVATE_KEY) holding USDC and ETH for gas. Do not call this repeatedly or in loops — each invocation spends real money.
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": "get_base_gas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_url | No | Optional override for the x402 gas API URL. Defaults to the live Base gas endpoint. |