d21 gas_price
POST https://draconic21-x402-api.onrender.com/v1/gas_price
Gas Price ($0.002): current Base gas market read live from Base's own public JSON-RPC, not a hosted gas-oracle vendor -- legacy gas price (eth_gasPrice), EIP-1559 base fee (latest block), and a suggested priority/max fee (eth_maxPriorityFeePerGas + a computed 2x-base-fee heuristic), all in gwei, plus a plain-transfer cost estimate. Base mainnet only. Body {} or { chain: "base" }. Check free /v1/gas_price/availability first.
How to buy
This endpoint takes pay-per-call payments over x402. Call it once without paying to see its live price; any x402 client then pays and retries automatically.
curl -i -X POST "https://draconic21-x402-api.onrender.com/v1/gas_price"
# HTTP/1.1 402 Payment Required: price, asset and payTo are in the responseRecent checks
| Checked (UTC) | Result | Status | Time | Live price |
|---|---|---|---|---|
| 2026-10-11 08:15 | Valid 402 | 402 | 116 ms | $0.002 |
| 2026-10-11 03:45 | Valid 402 | 402 | 206 ms | $0.002 |
| 2026-10-10 23:30 | Valid 402 | 402 | 199 ms | $0.002 |
| 2026-10-10 18:00 | Valid 402 | 402 | 101 ms | $0.002 |
Receipts
No test purchases yet. Graded test purchases are next on our list; until then every number here comes from unpaid checks.
What a check proves