{"uid":"cap_kUBm-k7eZAMpj3oUFKdC3","slug":"1gateway-base-transaction-lookup-98dc63ad","name":"1gateway Base Transaction Lookup","description":"Use when an agent must confirm a Base transaction or payment landed: did it succeed, who paid whom, how much of which token. Input: hash. Output: JSON status (success/reverted), block+time, confirmations, from, to, ETH value, fee (L2 gas + L1 data fee), decoded ERC-20 transfers with symbol and decimal amount (first 25). Unknown or unmined hash: 404, not charged. Example: ?hash=0x284f8abed91b5631ee28bdb1ccfe78374e18c480cb2ab25f28e3bfac5210fe0b","url":"https://1gateway.dev/v1/onchain/base/tx?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["hash"],"properties":{"hash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$","examples":["0x284f8abed91b5631ee28bdb1ccfe78374e18c480cb2ab25f28e3bfac5210fe0b"],"description":"Transaction hash on Base mainnet (0x + 64 hex). Unknown or not yet mined → 404 (not charged)"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["chain","chainId","hash","status","block","confirmations","from","to","contractCreated","value","nonce","input","fee","logCount","erc20Transfers","erc20TransferCount","erc20TransfersTruncated","rpc","note"],"properties":{"to":{"type":["string","null"]},"fee":{"type":"object","properties":{"gasUsed":{"type":"integer"},"l1FeeEth":{"type":"number"},"totalEth":{"type":"number"},"effectiveGasPriceGwei":{"type":"number"}}},"rpc":{"type":"object","properties":{"kind":{"type":"string"},"source":{"type":"string"}}},"from":{"type":"string"},"hash":{"type":"string"},"note":{"type":"string"},"block":{"type":"object","properties":{"number":{"type":"integer"},"timestamp":{"type":"string"}}},"chain":{"type":"string"},"input":{"type":"object","properties":{"bytes":{"type":"integer"},"selector":{"type":["string","null"]}}},"nonce":{"type":"integer"},"value":{"type":"object","properties":{"eth":{"type":"number"},"wei":{"type":"string"}}},"status":{"type":"string"},"chainId":{"type":"integer"},"logCount":{"type":"integer"},"confirmations":{"type":"integer"},"erc20Transfers":{"type":"array","items":{"type":"object","properties":{"to":{"type":"string"},"raw":{"type":"string"},"from":{"type":"string"},"token":{"type":"string"},"amount":{"type":["number","null"]},"symbol":{"type":["string","null"]},"decimals":{"type":["integer","null"]},"logIndex":{"type":"integer"}}}},"contractCreated":{"type":["string","null"]},"erc20TransferCount":{"type":"integer"},"erc20TransfersTruncated":{"type":"boolean"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0045","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0045/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0045","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0045","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CAgEj8-fvwQAV0tH2mlBu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0045","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches confirmed status, block details, fee breakdown, and decoded ERC-20 transfers for a Base mainnet transaction by hash","exampleAgentPrompt":"Can you check if my Base transaction 0x284f8abed91b5631ee28bdb1ccfe78374e18c480cb2ab25f28e3bfac5210fe0b succeeded, and tell me who sent what to whom including any token transfers and the total fee paid?","exampleUseCases":[{"title":"Confirm a crypto payment landed","prompt":"I just sent USDC to a contractor on Base — can you check if transaction 0x284f8abed91b5631ee28bdb1ccfe78374e18c480cb2ab25f28e3bfac5210fe0b actually went through and tell me the amount and recipient?"},{"title":"Debug a reverted DeFi transaction","prompt":"My Base transaction 0x284f8abed91b5631ee28bdb1ccfe78374e18c480cb2ab25f28e3bfac5210fe0b might have failed — can you look it up and tell me the status, how much gas was burned, and whether any token transfers happened?"},{"title":"Audit onchain payment trail","prompt":"For compliance, I need a full breakdown of Base tx 0x284f8abed91b5631ee28bdb1ccfe78374e18c480cb2ab25f28e3bfac5210fe0b: who paid whom, which tokens moved, the exact amounts, the block it was confirmed in, and the total fee in ETH."}],"resultDescription":"Returns a JSON object with: chain name and chainId, transaction hash, status (success or reverted), block number and ISO timestamp, confirmation count, from and to addresses, ETH value in both ETH and wei, nonce, input calldata size and 4-byte selector, fee breakdown (gas used, effective gas price in Gwei, L1 data fee in ETH, total fee in ETH), log count, up to 25 decoded ERC-20 transfers (from, to, token contract, symbol, human-readable amount), and a truncation flag if more than 25 transfers exist.","failureModes":["404 Not Found — transaction hash unknown or not yet mined (not charged)","Invalid hash format — must be 0x followed by exactly 64 hex characters","RPC connectivity issue — upstream Base node temporarily unavailable","Malformed hash parameter — missing or incorrect query parameter name"],"whenToPreferThis":"Use this endpoint when you need a single-call, normalized view of a Base mainnet transaction including decoded ERC-20 token transfers and L1+L2 fee breakdown, without setting up your own RPC node or parsing raw logs. Prefer it over raw Ethereum RPC calls when you need human-readable token amounts, symbols, and fee totals already computed. It is specifically scoped to Base mainnet; do not use it for Ethereum mainnet, Optimism, Arbitrum, or other chains.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T12:34:53.378Z","isFirstParty":false,"canonicalSlug":"1gateway-base-transaction-lookup-98dc63ad"}