Lookup Base transaction by hash on Base Mainnet
Lookup Base transaction by hash on Base Mainnet. Return sender, recipient, value, nonce, block, gas fields, and input data when found.
2000 (raw units)
price
2
calls / 30d
1
unique payers
2026-09-08
updated
Provider
blockchain-api.x402-chain-tools.workers.dev · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xa7e1fe3744E3b6D55237d95cE575cAFe3b8abeCD",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "2000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "5vX2u7mkwhxpvQYNA7SqmauJjkcfnxETQ6tKVZphzKyM",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "2000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"hash": "0x0000000000000000000000000000000000000000000000000000000000000000"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"found": false,
"hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"network": "eip155:8453",
"ok": true,
"transaction": null
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"hash": {
"description": "Base Mainnet transaction hash.",
"pattern": "^0x[0-9a-fA-F]{64}$",
"type": "string"
}
},
"required": [
"hash"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"additionalProperties": false,
"properties": {
"found": {
"type": "boolean"
},
"hash": {
"description": "Base Mainnet transaction hash.",
"pattern": "^0x[0-9a-fA-F]{64}$",
"type": "string"
},
"network": {
"const": "eip155:8453",
"type": "string"
},
"ok": {
"const": true,
"type": "boolean"
},
"transaction": {
"oneOf": [
{
"type": "null"
},
{
"additionalProperties": false,
"properties": {
"block_number": {
"oneOf": [
{
"type": "null"
},
{
"pattern": "^[0-9]+$",
"type": "string"
}
]
},
"from": {
"description": "Transaction sender.",
"pattern": "^0x[0-9a-fA-F]{40}$",
"type": "string"
},
"gas": {
"pattern": "^[0-9]+$",
"type": "string"
},
"gas_price": {
"pattern": "^[0-9]+$",
"type": "string"
},
"hash": {
"description": "Base Mainnet transaction hash.",
"pattern": "^0x[0-9a-fA-F]{64}$",
"type": "string"
},
"input": {
"pattern": "^0x(?:[0-9a-fA-F]{2})*$",
"type": "string"
},
"max_fee_per_gas": {
"pattern": "^[0-9]+$",
"type": "string"
},
"max_priority_fee_per_gas": {
"pattern": "^[0-9]+$",
"type": "string"
},
"nonce": {
"pattern": "^[0-9]+$",
"type": "string"
},
"to": {
"oneOf": [
{
"type": "null"
},
{
"description": "Transaction recipient.",
"pattern": "^0x[0-9a-fA-F]{40}$",
"type": "string"
}
]
},
"transaction_index": {
"oneOf": [
{
"type": "null"
},
{
"pattern": "^[0-9]+$",
"type": "string"
}
]
},
"value_wei": {
"pattern": "^[0-9]+$",
"type": "string"
}
},
"required": [
"hash",
"from",
"to",
"value_wei",
"nonce",
"block_number",
"transaction_index",
"gas",
"input"
],
"type": "object"
}
]
}
},
"required": [
"ok",
"network",
"hash",
"found",
"transaction"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://blockchain-api.x402-chain-tools.workers.dev/chain/transaction-lookup" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://blockchain-api.x402-chain-tools.workers.dev/chain/transaction-lookup");
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://blockchain-api.x402-chain-tools.workers.dev/chain/transaction-lookup")
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/8166.json, and this resource appears in /discovery/resources and /discovery/search.