{"uid":"cap_S2K9K7FjUdn7m1mS9C7Gz","slug":"base-mainnet-transaction-receipt-lookup-ab3a8ef5","name":"Base Mainnet Transaction Receipt Lookup","description":"Transaction receipt by hash on Base mainnet: status, gas used, full logs, L1 fee breakdown, l1_fee_usd/total_fee_usd.","url":"https://x402-data-api.sigrunner.workers.dev/chain/receipt","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","properties":{"hash":{"type":"string","description":"0x-prefixed 32-byte transaction hash"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"to":"0x6211a3742cf9d3b6677ecc7fd9dd102ab101d8e2","from":"0xd80217bd14c4d4a4fe37bb1354be1830ed815a60","logs":[],"status":1,"tx_hash":"0x571284385ad512a3ffc984a6c2f335113ada217215b6296847944f9d0bc613ef","gas_used":28859,"l1_fee_usd":0.00000214,"l1_fee_wei":"1158985140","logs_count":0,"l1_gas_used":1600,"block_number":48734000,"total_fee_usd":0.0026591,"contract_address":null,"l1_gas_price_wei":"116776985","cumulative_gas_used":75077,"effective_gas_price_wei":"49851573"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_N1F-9x2unF7dxIOzvX_gp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a full transaction receipt by hash on Base mainnet, including status, gas used, event logs, and L1 fee breakdown with USD cost estimates.","exampleAgentPrompt":"Can you pull the full receipt for Base mainnet transaction 0x3a1b2c4d5e6f7890abcdef1234567890abcdef1234567890abcdef1234567890ab — I want to know if it succeeded, how much gas was used, the L1 fee in USD, and any event logs it emitted?","exampleUseCases":[{"title":"Verify transaction success on Base","prompt":"Hey, can you check if the Base mainnet transaction 0xabc123...def456 actually went through successfully? I submitted it about 10 minutes ago and I'm not sure it confirmed — also let me know how much it cost in total USD fees."},{"title":"Debug failed transaction event logs","prompt":"I have a Base transaction 0x9f8e7d6c5b4a3210fedcba9876543210fedcba9876543210fedcba9876543210fe that I think reverted or did something unexpected. Can you pull the full receipt, check its status, and show me all the event logs so I can figure out what went wrong?"},{"title":"Cost accounting for Base transactions","prompt":"I need to do some cost accounting for a batch of on-chain operations. Can you look up the receipt for Base mainnet tx 0x1a2b3c4d5e6f7890abcdef1234567890abcdef1234567890abcdef1234567890cd and give me a full breakdown of the L2 execution fees and L1 data fees in USD so I can log it in our expense tracker?"}],"resultDescription":"Returns a structured transaction receipt for the given hash on Base mainnet: success/failure status, gas used, full decoded event logs, L1 fee breakdown (in wei and USD), and total_fee_usd combining L2 execution and L1 data costs.","failureModes":["Unknown or invalid transaction hash returns an error or empty result","Transaction exists on a different chain (not Base mainnet) — cross-chain hashes will not resolve","Malformed hash (wrong length, missing 0x prefix) triggers a validation error","Pending/unconfirmed transactions may not yet have a receipt","Rate limit or payment failure returns HTTP 402 or 429"],"whenToPreferThis":"Use this endpoint when you need detailed on-chain receipt data for a specific Base mainnet transaction, especially when L1 fee USD cost breakdown is important. Prefer this over generic RPC calls when you want structured JSON with USD fee estimates already computed. Best for post-execution verification, cost accounting, or debugging transaction outcomes on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:30:48.462Z","isFirstParty":false}