82trust / 100

Base Gas

by x402check-base in Onchain & crypto

x402 APIPassing, checked 3 h ago

Read-only Base mainnet data: GET /base/block, /base/tx?hash=, /base/balance?address=, /base/erc20?token=&holder=, /base/gas. Small JSON payloads over a Base node; pay ~$0.002 USDC on Base per call.

GET https://x402check.arden-instance.workers.dev/base/gas

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402check.arden-instance.workers.dev/base/gas?address=0x-address&hash=0x-tx-hash"
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%2Fx402check.arden-instance.workers.dev%2Fbase%2Fgas
const res = await pay("https://x402check.arden-instance.workers.dev/base/gas?address=0x-address&hash=0x-tx-hash");
console.log(await res.json());

Example input

{
  "address": "0x-address",
  "hash": "0x-tx-hash"
}

Example output

{
  "network": "base-mainnet",
  "retrieved_at": "…"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402124 ms$0.002
5 h agoPassed402117 ms$0.002
9 h agoPassed402149 ms$0.002
14 h agoPassed402219 ms$0.002