80trust / 100

Base Tx

by AllTheBot Transaction status in Onchain & crypto

x402 APIPassing, checked 4 h ago

Transaction status and receipt on Base: success / failed / pending / not found, block, confirmations, from, to, value, gas used and real fee. Payment and settlement verification for agents.

GET https://api.zkrobotics.fr/x402/base/tx

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.zkrobotics.fr/x402/base/tx?tx_hash=0x80d9d834b819b7eb6e3876ad984ee569ba608879702a74bce34d686fc49555db"
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%2Fapi.zkrobotics.fr%2Fx402%2Fbase%2Ftx
const res = await pay("https://api.zkrobotics.fr/x402/base/tx?tx_hash=0x80d9d834b819b7eb6e3876ad984ee569ba608879702a74bce34d686fc49555db");
console.log(await res.json());

Example input

{
  "tx_hash": "0x80d9d834b819b7eb6e3876ad984ee569ba608879702a74bce34d686fc49555db"
}

Example output

{
  "block": 52261255,
  "confirmations": 74563,
  "contract_created": null,
  "fee_eth": "0.000000658008282794",
  "from": "0x772003A2E9c2cCC8af956870a37A66F64F8CEC38",
  "gas_used": 86226,
  "logs": 2,
  "network": "base",
  "nonce": 1587682,
  "status": "success",
  "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
  "tx_hash": "0x80d9d834b819b7eb6e3876ad984ee569ba608879702a74bce34d686fc49555db",
  "value_eth": "0"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed40258 ms$0.0035