How to buy gas
agentgas_how_to_buyPay USDC via x402 at /v1/gas; starter fills under $0.10; MCP tools are free helpers—use an x402 client to pay. Step-by-step instructions plus the exact x402 payment URL. This MCP server cannot sign payments; your x402 client (e.g. @x402/fetch) pays the URL with USDC on Base, gasless (EIP-3009 signature, no ETH needed).
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": "agentgas_how_to_buy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Recipient 0x address; omit to deliver to the payer | |
| usd | No | ||
| chain | Yes | Destination chain for the native gas | |
| amount | No |