81trust / 100

Base Pending

by base-pending-block in Onchain & crypto

x402 APIPassing, checked 2 h ago

The current pending Base mainnet block (mempool, not yet mined) - unconfirmed transactions via eth_getBlockByNumber('pending').

POST https://x402.agentindex.world/base/pending

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://x402.agentindex.world/base/pending" \
  -H "content-type: application/json" \
  -d '{}'
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%2Fx402.agentindex.world%2Fbase%2Fpending
const res = await pay("https://x402.agentindex.world/base/pending", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({}),
});
console.log(await res.json());

Example input

{}

Example output

{
  "base_fee_per_gas": 10000000,
  "gas_limit": 30000000,
  "gas_used": 0,
  "hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
  "miner": "0x4200000000000000000000000000000000000011",
  "number": 33554433,
  "parent_hash": "0xf712aa9241cc24369b143cf6dce85f0902a9731e70d66818a3a5845b296c73dd",
  "timestamp": 1759500000,
  "transaction_count": 0,
  "transaction_hashes": []
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed40273 ms$0.01
7 h agoPassed402156 ms$0.01