{"uid":"cap_HlVdlMHhq8EMXXqbjl-ki","slug":"mach-gallery-base-transaction-context-df869fc7","name":"Mach Gallery Base Transaction Context","description":"Fast, low-cost Base data for autonomous agents. No API keys, no subscriptions; pay per call with USDC over x402.","url":"https://api.mach.gallery/api/base/transaction-context?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"tx_hash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$","description":"32-byte Base transaction hash."}}},"responseSchema":{"type":"json","example":{"to":"0x...","from":"0x...","found":true,"state":"confirmed","fee_wei":"21000000000","network":"eip155:8453","success":true,"tx_hash":"0x...","gas_used":"21000","value_wei":"0","block_number":36000000,"confirmations":12,"effective_gas_price_wei":"1000000"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uSgxnQeqR3YuW3WvqJoUq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves full contextual details for a specific Base (EVM) transaction by hash, including status, gas, value, and confirmation count","exampleAgentPrompt":"Can you look up the transaction context for Base tx hash 0x3a1b2c... and tell me whether it confirmed, who sent it, and how much gas was used?","exampleUseCases":[{"title":"Verify on-chain payment receipt","prompt":"I just received a payment on Base — the tx hash is 0xabc123...def456. Can you confirm it actually went through, who sent it, and what the final value was?"},{"title":"Debug failed DeFi transaction","prompt":"My Base transaction 0xdeadbeef...1234 might have failed — can you check its status, whether it succeeded, and how much gas was consumed?"},{"title":"Audit agent-initiated transfer","prompt":"My autonomous agent said it submitted a Base transfer with hash 0x9f8e7d...6c5b — can you pull the full transaction context so I can confirm the block number, confirmations, and effective gas price?"}],"resultDescription":"A JSON object containing the transaction's from and to addresses, success flag, state (e.g. confirmed), value in wei, gas used, fee in wei, effective gas price in wei, block number, number of confirmations, the original tx hash, and the network identifier (eip155:8453). Also includes a 'found' boolean indicating whether the hash resolved.","failureModes":["Transaction hash not found on Base (found: false in response)","Malformed or non-hex transaction hash rejected by input validation","Transaction still pending — confirmations may be 0 and state not yet 'confirmed'","Network or upstream Base RPC errors causing timeouts","Payment failure over x402 if USDC balance is insufficient"],"whenToPreferThis":"Choose this endpoint when you need a single, detailed lookup of a Base blockchain transaction by hash — especially for confirming payment success, auditing gas usage, or verifying sender/recipient without setting up an API key or subscription. It is ideal for autonomous agents that need on-demand, pay-per-call Base chain data without managing credentials.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:37:28.093Z","isFirstParty":false,"canonicalSlug":"mach-gallery-base-transaction-context-df869fc7"}