Skip to content
Fourohtwo

Gas price

x402-seller-pmlm.onrender.com/gas

Gas price: live gas fees for Ethereum, Base, Arbitrum, Polygon and Solana in one call. Use before sending a transaction to pick a fee or the cheapest chain. Returns base fee, slow/standard/fast priority fees, max fee, congestion, and the USD cost of a transfer, an ERC-20 transfer and a swap per chain, plus Solana priority fees. Optional chain. 0.001 USDC/call; failed calls are free.

BasePolygonArbitrumSolanaAvalancheSeiAnswering
GEThttps://x402-seller-pmlm.onrender.com/gas

Uptime100% of 3 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://x402-seller-pmlm.onrender.com/gas?chain=all");
console.log(await res.json());

Example input

{
  "chain": "all"
}

More from Gas PriceProvider status