$0.001
per call · USD Coin on Base
Look up a transaction on Base by hash. POST {"hash":"0x..."} and receive its status, block number, from and to addresses, value, gas used and effective gas price. Returns a clear not-found rather than an empty object when the hash is unknown.
Endpoint
POST https://x402-echo-service.onrender.com/chain/tx1
Calls / 30d
1
Unique payers / 30d
Aug 30
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://x402-echo-service.onrender.com/chain/tx", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"hash": "0x962895f4b604ce745b6cd76e588d62fcf4fb59f9d6e67d0a17a7769f6ab15e4e"
}),
});
const data = await res.json();curl -X POST \
"https://x402-echo-service.onrender.com/chain/tx" \
-H "Content-Type: application/json" \
-d '{"hash":"0x962895f4b604ce745b6cd76e588d62fcf4fb59f9d6e67d0a17a7769f6ab15e4e"}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"blockNumber": 34500000,
"found": true,
"from": "0x368C…9716",
"gasUsed": "64210",
"hash": "0x9628…5e4e",
"status": "success",
"to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"value": "0"
}Payment details
0x9cc774a8ed49d89cba1a288f4a050b8f7fba77eeUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Onchain Data and the homepage with a featured placement.
More from Transaction Lookup & similar services
Transaction Lookup · Aman TX Lookup
amanchain-relay.gitajhd.workers.dev
Transaction lookup by id — full details: type, amount, sender, receiver, block height and timestamp; blockchain explorer API. Deterministic on-chain execution by the AmanChain node — live consensus state, real blocks, pools and balances. Pay per call via x402 (USDC on Base), no account, no API key. POST JSON {"serviceId":"aman-tx-lookup","request":"<input>"}.
Chain · Operations
agents.chain.link
Chainlink For Agents: execute a catalog workflow by workflow name.
Chain · Operations Submit
agents.chain.link
Chainlink For Agents: submit a signed operation payload.