F

Fastdb · Pulse GAS

by Fastdb

POSTBase

$0.001

per call · USD Coin on Base

Live gas on Ethereum, Base, Arbitrum, Optimism, Polygon — base fee, priority fee tiers, and USD transfer cost, straight from chain RPC.

Endpoint

POST https://md.fastdb.in/pulse/gas

1

Calls / 30d

1

Unique payers / 30d

Aug 14

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://md.fastdb.in/pulse/gas", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "chains": [
      "base",
      "ethereum"
    ]
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://md.fastdb.in/pulse/gas" \
  -H "Content-Type: application/json" \
  -d '{"chains":["base","ethereum"]}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "at": "2026-07-17T15:00:00.000Z",
  "chains": [
    "base"
  ],
  "gas": {
    "base": {
      "baseFeeGwei": 0.005,
      "blockNumber": 48755195,
      "chain": "base",
      "gasPriceGwei": 0.006,
      "nativeSymbol": "ETH",
      "nativeUsd": 1818.32,
      "priorityFee": {
        "fastGwei": 0.019,
        "slowGwei": 0.0001,
        "standardGwei": 0.0011
      },
      "transferCostUsd": 0.0002291
    }
  }
}

Payment details

Pay to0x072f3a2bd93bb75b1eb84a9e45d17a4f90a6d801
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Onchain Data and the homepage with a featured placement.

Get featured →

More from Fastdb & similar services