{"slug":"1gateway-dev-v1-onchain-base-tx-d06adb","title":"Use when an agent must confirm a Base transaction or payment landed","host":"1gateway.dev","method":"GET","resource":"https://1gateway.dev/v1/onchain/base/tx","category":"market","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 decim","price_listed":0.0045,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"hash":"0x284f8abed91b5631ee28bdb1ccfe78374e18c480cb2ab25f28e3bfac5210fe0b"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"additionalProperties":false,"properties":{"hash":{"description":"Transaction hash on Base mainnet (0x + 64 hex). Unknown or not yet mined → 404 (not charged)","examples":["0x284f8abed91b5631ee28bdb1ccfe78374e18c480cb2ab25f28e3bfac5210fe0b"],"pattern":"^0x[0-9a-fA-F]{64}$","type":"string"}},"required":["hash"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"block":{"properties":{"number":{"type":"integer"},"timestamp":{"type":"string"}},"type":"object"},"chain":{"type":"string"},"chainId":{"type":"integer"},"confirmations":{"type":"integer"},"contractCreated":{"type":["string","null"]},"erc20TransferCount":{"type":"integer"},"erc20Transfers":{"items":{"properties":{"amount":{"type":["number","null"]},"decimals":{"type":["integer","null"]},"from":{"type":"string"},"logIndex":{"type":"integer"},"raw":{"type":"string"},"symbol":{"type":["string","null"]},"to":{"type":"string"},"token":{"type":"string"}},"type":"object"},"type":"array"},"erc20TransfersTruncated":{"type":"boolean"},"fee":{"properties":{"effectiveGasPriceGwei":{"type":"number"},"gasUsed":{"type":"integer"},"l1FeeEth":{"type":"number"},"totalEth":{"type":"number"}},"type":"object"},"from":{"type":"string"},"hash":{"type":"string"},"input":{"properties":{"bytes":{"type":"integer"},"selector":{"type":["string","null"]}},"type":"object"},"logCount":{"type":"integer"},"nonce":{"type":"integer"},"note":{"type":"string"},"rpc":{"properties":{"kind":{"type":"string"},"source":{"type":"string"}},"type":"object"},"status":{"type":"string"},"to":{"type":["string","null"]},"value":{"properties":{"eth":{"type":"number"},"wei":{"type":"string"}},"type":"object"}},"required":["chain","chainId","hash","status","block","confirmations","from","to","contractCreated","value","nonce","input","fee","logCount","erc20Transfers","erc20TransferCount","erc20TransfersTruncated","rpc","note"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"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","last_updated":"2026-10-12T23:21:09.392Z","schemes":["exact"]}