86trust / 100

Price Base Gas

by Vibe Springs in Onchain & crypto

x402 APIPassing, checked 1 h ago

Base network real-time gas price oracle. Returns block base fee, current gas price in GWEI, and network block details.

GET https://vibesprings.net/api/price/base-gas

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
105 ms typical, 105 ms slowest 5%
Last check
1 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://vibesprings.net/api/price/base-gas"
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%2Fvibesprings.net%2Fapi%2Fprice%2Fbase-gas
const res = await pay("https://vibesprings.net/api/price/base-gas");
console.log(await res.json());

Example input

{}

Example output

{
  "baseFeeGwei": 0.0012,
  "blockNumber": 15482930,
  "currency": "GWEI",
  "exchange": "Base RPC",
  "gasPriceGwei": 0.0015,
  "processingTime": "95ms",
  "symbol": "BASE-GAS",
  "timestamp": "2026-06-25T12:00:00.000Z",
  "type": "gas_price"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
1 h agoPassed402187 ms$0.001
6 h agoPassed402105 ms$0.001