80trust / 100

Gas

by oraclepost.higgsfield.app in Onchain & crypto

x402 APIPassing, checked 1 h ago

Current gas conditions on Base, read live from a public node: gas price, base fee of the latest block, suggested priority fee, latest block number and timestamp. No parameters. No third-party API, no cache.

GET https://oraclepost.higgsfield.app/api/gas

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
559 ms typical, 559 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://oraclepost.higgsfield.app/api/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%2Foraclepost.higgsfield.app%2Fapi%2Fgas
const res = await pay("https://oraclepost.higgsfield.app/api/gas");
console.log(await res.json());

Example output

{
  "base_fee_gwei": 0.0041,
  "block": 51234567,
  "block_time": "2026-09-16T10:12:03.000Z",
  "gas_price_gwei": 0.0052,
  "network": "eip155:8453",
  "priority_fee_gwei": 0.001
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
1 h agoPassed402559 ms$0.001
6 h agoPassed402562 ms$0.001