66trust / 100

Gas

by Aayat AI in Onchain & crypto

x402 APIFailing, checked 1 h ago

Live network fees on Ethereum, Base, Arbitrum, Optimism, Polygon, BNB, Avalanche, Solana and Bitcoin: slow/standard/fast fee rates, congestion and trend, and the USD cost of a send, token transfer and swap on each, plus the cheapest chain now. Pick chains with chains (e.g. base,solana); all by default.

GET https://aayatai.com/gas

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
50.0%
Response time
60 ms typical, 60 ms slowest 5%
Last check
1 h ago: Expected HTTP 402, got 410
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://aayatai.com/gas?chains=base%2Cethereum%2Csolana"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Faayatai.com%2Fgas
const res = await pay("https://aayatai.com/gas?chains=base%2Cethereum%2Csolana");
console.log(await res.json());

Example input

{
  "chains": "base,ethereum,solana"
}

Example output

{
  "chains": [
    {
      "baseFee": 0.005,
      "chain": "base",
      "congestion": "low",
      "costs": {
        "swap": {
          "native": 0.0000011,
          "usd": 0.0029
        },
        "tokenTransfer": {
          "native": 3.97e-7,
          "usd": 0.00105
        },
        "transfer": {
          "native": 1.28e-7,
          "usd": 0.00034
        }
      },
      "gasPrice": 0.006,
      "nativeUsd": 2650,
      "note": "Layer-2 costs exclude the small L1 data fee.",
      "speeds": {
        "fast": 0.0072,
        "slow": 0.0051,
        "standard": 0.0061
      },
      "symbol": "ETH",
      "trend": "steady",
      "unit": "gwei"
    }
  ],
  "cheapest": {
    "swap": {
      "chain": "base",
      "usd": 0.0029
    },
    "transfer": {
      "chain": "base",
      "usd": 0.00034
    }
  },
  "checkedAt": "2026-09-28T12:00:00.000Z",
  "source": "Public RPC nodes, mempool.space, DexScreener prices",
  "unavailable": []
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
1 h agoExpected HTTP 402, got 41041045 ms-
7 h agoPassed40260 ms$0.002