Gas station: get gas on any chain
refuel_gasStuck without gas? Get a small amount of the native gas token (ETH on Base/Arbitrum/Optimism/Ethereum, SOL, BNB, POL, AVAX, TRX, TON, SUI...) delivered to any address, paid with whatever token you hold on any chain. Default $3 worth.
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>",
"recipient": "<recipient>",
"pay_with_token": "<pay_with_token>",
"refund_address": "<refund_address>"
},
"name": "refuel_gas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| test | No | Test mode: true = no real money. You get a fake deposit address that completes by itself in ~15s, so you can test status, invoices, receipts and webhooks for free. | |
| chain | Yes | Chain that needs gas, e.g. 'base', 'solana', 'arbitrum'. | |
| speed | No | Optional. Default 'best_price': Swap Ripper quotes two networks at once and uses whichever is cheaper for you (and the other if one fails); the reply's route_choice shows both. 'fast' forces the ~seconds Relay route. | |
| referrer | No | Optional: your NEAR account (e.g. 'myagent.near'). You earn 1/3 of the service fee on every swap routed with it. The user pays the same. | |
| recipient | Yes | Address that needs gas, on that chain. | |
| request_id | No | Recommended: your own unique ID for this payment (e.g. a UUID). Retrying with the same request_id returns the SAME payment instructions, so you never pay twice. | |
| usd_amount | No | How much gas in USD (1-50, default 3). | |
| slippage_bps | No | Max slippage in basis points (default 100 = 1%, range 10-500). | |
| pay_with_chain | No | Chain you pay from, e.g. 'solana'. | |
| pay_with_token | Yes | Token you pay with, e.g. 'USDC'. | |
| refund_address | Yes | Your address on the paying chain, for automatic refunds. |