Base Tx Check
by Verify Base transaction in Onchain & crypto
Verify Base transaction by hash: status, block, timestamp and confirmations, with USDC and ERC-20 Transfers decoded (token, from, to, amount; up to 100 listed, transfers_total gives the full count), any EIP-3009 authorization used, and match flags for an expected payTo and amount, so an x402 payment receipt or PAYMENT-RESPONSE can be checked as settled. Required: hash. $0.002 USDC on Base. Transaction not found, no charge. No account, no API key. Base mainnet only.
https://ontarioprotocol.com/api/x402/base/tx-check- Price
- $0.002
- per call in USDC
- Uptime
- 98.0%
- last 30 days
- Response time
- 279 ms
- 406 ms slowest 5%
- Last check
- Passed
- 5 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://ontarioprotocol.com/api/x402/base/tx-check
Each call costs $0.002 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
GET https://ontarioprotocol.com/api/x402/base/tx-check?expected_amount=500000&expected_to=0xa2d72aBF2C5e939fdDCA4156B74dE482e03CA3ec&hash=0xfe14a1712c65c815f1f056cb6b2fbe0f72b2b44eee0990bab5ece2914d7a0883Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
expected_amount | string | No | Optional USDC amount in atomic units, for example 500000 for 0.5 USDC. |
expected_to | string | No | Optional payTo address the USDC transfer should reach. |
hash | string | Yes | Base mainnet transaction hash. |
Example response
The provider's example. We can't check it without paying.
Example response, 50 lines
{
"authorizations_used": [
{
"authorizer": "0xc9c7b38C0942914fC8EA12063BC92dcd3b581670",
"nonce": "0x366fed83f5c2c8d619f993a8d33c75765208dde91a214676944640d98d040178",
"token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
}
],
"block": 51838957,
"block_hash": "0xa6d26e6d5666d11350491e89b07659b8887804b3d6d7fac532c4da1ec4a4fceb",
"confirmations": 1210953,
"effective_gas_price_wei": "6857500",
"expected": {
"amount_atomic": "500000",
"amount_matches": true,
"rule": "Any USDC Transfer in the transaction; with expected_to set, the amount must be on a transfer to it.",
"to": "0xa2d72aBF2C5e939fdDCA4156B74dE482e03CA3ec",
"to_matches": true,
"token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
},
"from": "0x2A89407a98A0732b7fD578c4E156B7166540EB5A",
"gas_used": 86302,
"hash": "0xfe14a1712c65c815f1f056cb6b2fbe0f72b2b44eee0990bab5ece2914d7a0883",
"network": "eip155:8453",
"read_at": "2026-10-25T00:46:05Z",
"schema": "ontario.base_tx_check.v1",
"source": "Base RPC",
"status": "success",
"timestamp": "2026-09-27T00:01:01Z",
"to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"transfers": [
{
"decimals": 6,
"formatted": "0.5",
"from": "0xc9c7b38C0942914fC8EA12063BC92dcd3b581670",
"raw": "500000",
"symbol": "USDC",
"to": "0xa2d72aBF2C5e939fdDCA4156B74dE482e03CA3ec",
"token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
}
],
"transfers_total": 1,
"usdc_payment": {
"amount_atomic": "500000",
"amount_usdc": "0.5",
"eip3009_authorization_observed": true,
"payer": "0xc9c7b38C0942914fC8EA12063BC92dcd3b581670",
"recipient": "0xa2d72aBF2C5e939fdDCA4156B74dE482e03CA3ec"
}
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.002.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://ontarioprotocol.com/api/x402/base/tx-check?expected_amount=500000&expected_to=0xa2d72aBF2C5e939fdDCA4156B74dE482e03CA3ec&hash=0xfe14a1712c65c815f1f056cb6b2fbe0f72b2b44eee0990bab5ece2914d7a0883'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://ontarioprotocol.com/api/x402/base/tx-check?expected_amount=500000&expected_to=0xa2d72aBF2C5e939fdDCA4156B74dE482e03CA3ec&hash=0xfe14a1712c65c815f1f056cb6b2fbe0f72b2b44eee0990bab5ece2914d7a0883' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.002 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.002" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.002 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fontarioprotocol.com%2Fapi%2Fx402%2Fbase%2Ftx-check
const res = await pay("https://ontarioprotocol.com/api/x402/base/tx-check?expected_amount=500000&expected_to=0xa2d72aBF2C5e939fdDCA4156B74dE482e03CA3ec&hash=0xfe14a1712c65c815f1f056cb6b2fbe0f72b2b44eee0990bab5ece2914d7a0883");
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.002 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.002"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://ontarioprotocol.com/api/x402/base/tx-check?expected_amount=500000&expected_to=0xa2d72aBF2C5e939fdDCA4156B74dE482e03CA3ec&hash=0xfe14a1712c65c815f1f056cb6b2fbe0f72b2b44eee0990bab5ece2914d7a0883")
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 5 h ago | Passed | 402 | 259 ms | $0.002 |
| 15 h ago | Passed | 402 | 301 ms | $0.002 |
| 25 h ago | Passed | 402 | 485 ms | $0.002 |
| 35 h ago | Passed | 402 | 250 ms | $0.002 |
| 2 days ago | Timed out | - | - | - |
Show 10 older checks
| 4 days ago | Timed out | - | - | - |
| 5 days ago | Passed | 402 | 2.6 s | $0.002 |
| 6 days ago | Passed | 402 | 484 ms | $0.002 |
| 6 days ago | Passed | 402 | 324 ms | $0.002 |
| 7 days ago | Passed | 402 | 228 ms | $0.002 |
| 7 days ago | Passed | 402 | 305 ms | $0.002 |
| 7 days ago | Passed | 402 | 241 ms | $0.002 |
| 8 days ago | Passed | 402 | 288 ms | $0.002 |
| 8 days ago | Passed | 402 | 236 ms | $0.002 |
| 8 days ago | Passed | 402 | 295 ms | $0.002 |