Look up a transaction on Base by hash
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.
1000 (raw units)
price
1
calls / 30d
1
unique payers
2026-08-30
updated
Provider
x402-echo-service.onrender.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x9Cc774A8eD49d89cBA1A288F4a050B8F7FbA77EE",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"category": "Infra",
"coverImage": "https://x402-echo-service.onrender.com/icon.png",
"info": {
"input": {
"body": {
"hash": "0x962895f4b604ce745b6cd76e588d62fcf4fb59f9d6e67d0a17a7769f6ab15e4e"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"blockNumber": 34500000,
"found": true,
"from": "0x368C…9716",
"gasUsed": "64210",
"hash": "0x9628…5e4e",
"status": "success",
"to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"value": "0"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"hash": {
"description": "32-byte transaction hash.",
"type": "string"
}
},
"required": [
"hash"
],
"type": "object"
},
"bodyType": {
"enum": [
"json"
]
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http"
}
},
"required": [
"type",
"bodyType",
"body",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"blockNumber": {
"type": "integer"
},
"found": {
"type": "boolean"
},
"from": {
"type": "string"
},
"gasUsed": {
"type": "string"
},
"hash": {
"type": "string"
},
"status": {
"type": "string"
},
"to": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"hash",
"found"
],
"type": "object"
},
"type": {
"const": "json"
}
},
"required": [
"type",
"example"
],
"type": "object"
}
},
"required": [
"input",
"output"
],
"type": "object"
},
"serviceName": "Transaction Lookup",
"summary": "Status, block, gas and transfer details for a Base transaction.",
"tags": [
"transaction",
"receipt",
"base",
"onchain",
"lookup"
]
}
}Use it
curl
curl "https://x402-echo-service.onrender.com/chain/tx" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://x402-echo-service.onrender.com/chain/tx");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://x402-echo-service.onrender.com/chain/tx")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/8184.json, and this resource appears in /discovery/resources and /discovery/search.