{"uid":"cap_IqmTmut4BjtMSwk2dSTzC","slug":"avasis-base-transaction-receipt-3da67b03","name":"Avasis Base Transaction Receipt","description":"Transaction receipt on Base (chain 8453, $0.02): txHash (+ wait) -> polls every 1.2 s up to wait (default 10, max 25) -> status success / reverted, block + confirmations, gas used vs limit, fee in ETH and USD incl. Base L1 fee, decoded input, ERC-20 / NFT transfers with USD, net_for_from, revert reason (replay). Still pending -> nonce state + fee-market diagnosis. Phrases: tx receipt, transaction status, pending transaction, gas used. GET or POST JSON. Unknown hash -> 404, never charged.","url":"https://agents.avasis.ai/v1/base/tx-receipt?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":["txHash"],"properties":{"wait":{"type":"integer","maximum":25,"minimum":0,"description":"seconds to keep polling for the receipt before answering (default 10, max 25; 0 = one read). Still pending after that -> 200 with a diagnosis; never seen -> 404, not charged"},"chain":{"type":"string","description":"optional; must be base / 8453 on this route"},"txHash":{"type":"string","description":"transaction hash on Base (0x + 64 hex)"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["chain","tx_hash","found","mined","status","headline","waited_ms","polls"],"properties":{"to":{"type":["string","null"]},"tx":{"type":"object"},"gas":{"type":"object"},"from":{"type":"string"},"kind":{"type":"string"},"rail":{"type":"string"},"block":{"type":["object","null"]},"chain":{"type":"string"},"found":{"type":"boolean"},"input":{"type":["object","null"]},"mined":{"type":"boolean"},"polls":{"type":"integer"},"value":{"type":"object"},"revert":{"type":["object","null"]},"status":{"type":"string"},"success":{"type":["boolean","null"]},"tx_hash":{"type":"string"},"chain_id":{"type":"integer"},"headline":{"type":"string"},"approvals":{"type":"array"},"transfers":{"type":"array"},"waited_ms":{"type":"integer"},"fee_market":{"type":"object"},"nonce_check":{"type":"object"},"latest_block":{"type":["integer","null"]},"net_for_from":{"type":["object","null"]},"confirmations":{"type":["integer","null"]},"also_available":{"type":"object"}}}}}}},"responseSchema":{"type":"json","example":{"to":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","gas":{"used":40259,"limit":91312,"eth_usd":2242.9,"fee_eth":"0.000000241554","fee_usd":0.0005418,"fee_wei":"241554000000","used_pct":44.1,"l1_fee_eth":"0.000000000325219751","l1_fee_usd":7.294e-7,"l1_fee_wei":"325219751","total_fee_eth":"0.000000241879219751","total_fee_usd":0.0005425,"max_fee_per_gas_gwei":0.011,"effective_gas_price_gwei":0.006},"from":"0xf1dbe0008b5f36241ad5f720671611ab6ffc0e8d","kind":"tx-receipt","rail":"evm-rails-1","type":"eip-1559","block":{"hash":"0x1ebe0db0f987758950ecbe3594538c2a5e54dc88ccbbca90d58258c65161f801","age_s":242,"number":53354721,"timestamp":1793498789,"base_fee_gwei":0.005},"chain":"base","found":true,"input":{"args":{"amount_raw":"3720000","spender_or_to":"0x128b1240168fcb68bd2d98d718e559337722c93a"},"kind":"transfer","method":"transfer","selector":"0xa9059cbb","to_known":"USDC (Circle)","signature":"transfer(address,uint256)"},"mined":true,"nonce":1,"polls":1,"reads":{"rpc":"fixture","calls":5},"value":{"eth":"0","usd":0,"wei":"0"},"revert":null,"status":"success","success":true,"tx_hash":"0x29309a800f5468275623e5dbd3da5965f3a8041f7b9aeef8287af30a734d3df4","chain_id":8453,"headline":"MINED on Base: block 53354721 (242 s ago), 7 confirmations, fee $0.0005, 3.72 USDC -> 0x128b…c93a","tx_index":39,"approvals":[],"transfers":[{"to":"0x128b1240168fcb68bd2d98d718e559337722c93a","usd":3.72,"from":"0xf1dbe0008b5f36241ad5f720671611ab6ffc0e8d","kind":"erc20","token":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","amount":"3.72","symbol":"USDC","decimals":6,"token_id":null,"direction":"out","amount_raw":"3720000","price_source":"stablecoin peg (known issuer)"}],"waited_ms":0,"logs_count":1,"latest_block":53354727,"net_for_from":{"note":"usd_net = ETH delta - gas + priced token deltas, at current prices","tokens":[{"usd":-3.72,"kind":"erc20","delta":"-3.72","token":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","symbol":"USDC","decimals":6,"token_id":null,"delta_raw":"-3720000","price_source":"stablecoin peg (known issuer)"}],"usd_net":-3.72,"unpriced":[],"eth_delta":"0","gas_cost_eth":"0.000000241879219751","gas_cost_usd":0.0005425,"gas_cost_wei":"241879219751","eth_delta_usd":0,"eth_delta_wei":"0","usd_net_complete":true,"eth_delta_after_gas":"-0.000000241879219751"},"confirmations":7,"contract_created":null,"receipt_unavailable":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nhNGRjWV5UnsQNsKAC8UZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Polls the Base blockchain for a transaction receipt by hash, returning status, gas usage, fee breakdown (including L1 fee), decoded input, ERC-20/NFT transfers with USD values, and revert reasons.","exampleAgentPrompt":"Can you check the status of Base transaction 0x29309a800f5468275623e5dbd3da5965f3a8041f7b9aeef8287af30a734d3df4? I want to know if it succeeded or reverted, how much gas and fees were used in USD (including the L1 fee), and what token transfers happened.","exampleUseCases":[{"title":"Confirm USDC transfer landed on Base","prompt":"I just sent 3.72 USDC on Base with tx hash 0x29309a800f5468275623e5dbd3da5965f3a8041f7b9aeef8287af30a734d3df4 — can you check if it confirmed, how many block confirmations it has, and what the total fee was in USD?"},{"title":"Debug a reverted Base transaction","prompt":"My Base transaction 0xabc123...def456 seems to have failed — can you look it up, tell me if it reverted, what the revert reason was, and replay it to diagnose the issue?"},{"title":"Monitor pending transaction on Base","prompt":"I submitted a transaction on Base with hash 0xdeadbeef...1234 but it's been sitting for a while — can you poll for up to 20 seconds and tell me if it's been mined yet, or diagnose why it might be stuck with nonce and fee-market info?"}],"resultDescription":"A JSON object containing: transaction found/mined status, success or revert status with revert reason, block number and timestamp, confirmation count, gas used vs limit and usage percentage, effective gas price, fee in ETH and USD including Base L1 fee component, decoded method call with arguments, list of ERC-20 and NFT transfers with token symbols and USD values, net balance change for the sender, and if still pending: nonce state and fee market diagnosis. Returns 404 if the hash is unknown (not charged).","failureModes":["Unknown transaction hash returns 404 and is not charged","Transaction still pending after wait period returns 200 with pending diagnosis instead of receipt","Invalid txHash format may return an error","wait parameter exceeds maximum of 25 seconds returns validation error","Chain mismatch (non-Base hash) returns an error or empty result"],"whenToPreferThis":"Use this endpoint when you need comprehensive Base (chain 8453) transaction receipt data in a single call, especially when you need decoded input, USD-denominated fees including the Base L1 fee component, token transfer details with USD values, and pending transaction diagnosis. Prefer over raw RPC calls for agent workflows that need human-readable summaries, USD fee context, and revert reason decoding without implementing custom ABI parsing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T12:30:46.594Z","isFirstParty":false,"canonicalSlug":"avasis-base-transaction-receipt-3da67b03"}