{"slug":"quickbuild-quynguyenbac-workers-dev-api-base-tx-5a1636","title":"Look up one transaction on Base mainnet by hash","host":"quickbuild.quynguyenbac.workers.dev","method":"GET","resource":"https://quickbuild.quynguyenbac.workers.dev/api/base/tx","category":"code","description":"Look up one transaction on Base mainnet by hash: status (success, failed or pending), block, timestamp, confirmations, from/to, value, method id, gas used, effective gas price, fee split into L2 execution and L1 data fee (ETH and USD), contract created, and decoded ERC-20 Transfer events (token, sym","price_listed":0.002,"price_asked":0.002,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":31,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"hash":"0x20215b4a54f0a39995f3afbd748d7b52c3a1922685ddf08e5f694ea1e89b52bf"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"hash":{"description":"Transaction hash (0x + 64 hex). Optional: defaults to 0x20215b4a54f0a39995f3afbd748d7b52c3a1922685ddf08e5f694ea1e89b52bf.","type":"string"}},"required":[],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"blockNumber":{"type":["integer","null"]},"blockTimestamp":{"type":["string","null"]},"confirmations":{"type":"integer"},"erc20Transfers":{"items":{"properties":{"amount":{"type":["string","null"]},"from":{"type":"string"},"symbol":{"type":["string","null"]},"to":{"type":"string"},"token":{"type":"string"}},"type":"object"},"type":"array"},"fee":{"properties":{"totalEth":{"type":"string"},"usd":{"type":["number","null"]}},"type":"object"},"from":{"type":"string"},"gasUsed":{"type":"integer"},"hash":{"type":"string"},"methodId":{"type":["string","null"]},"status":{"enum":["success","failed","pending"],"type":"string"},"to":{"type":["string","null"]},"valueEth":{"type":"string"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":31,"error":null}],"description_full":"Look up one transaction on Base mainnet by hash: status (success, failed or pending), block, timestamp, confirmations, from/to, value, method id, gas used, effective gas price, fee split into L2 execution and L1 data fee (ETH and USD), contract created, and decoded ERC-20 Transfer events (token, symbol, from, to, amount; up to 20). Useful to confirm a payment landed. Read live from public Base RPC. All params optional: defaults to a confirmed USDC x402 payment. Unknown hash = 404, invalid...","last_updated":"2026-10-21T13:36:02.875Z","schemes":["exact"]}