{"uid":"cap_ADm_F4bs8iR6ynFn3MIvF","slug":"synapse-api-optimism-transaction-history-7dbba2d9","name":"Synapse API — Optimism Transaction History","description":"High-speed API suite for AI processing, web scraping, and smart data utilities across 57+ blockchain networks. Pay-per-call via x402.","url":"https://synapse-api-brown.vercel.app/api/optimism/tx/history","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"order":{"enum":["asc","desc"],"type":"string"},"pageKey":{"type":"string"},"toBlock":{"type":"string"},"category":{"type":"array","items":{"type":"string"}},"maxCount":{"type":"number"},"fromBlock":{"type":"string"},"toAddress":{"type":"string"},"fromAddress":{"type":"string"},"withMetadata":{"type":"boolean"},"excludeZeroValue":{"type":"boolean"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MUJKJFxGnW2PJnCFtQr4g","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves paginated transaction history for addresses on the Optimism blockchain network","exampleAgentPrompt":"Can you pull the last 25 transactions for the Optimism wallet 0xAbC123...def456, sorted newest first, and include metadata?","exampleUseCases":[{"title":"Audit wallet activity on Optimism","prompt":"I need to audit all transactions sent from the Optimism address 0x1234...abcd between block 100000 and block 200000 — show me up to 50 results in ascending order and include metadata."},{"title":"Monitor incoming transfers to a contract","prompt":"Fetch all incoming transfers to my Optimism smart contract at 0xDEAD...BEEF, skip zero-value transfers, and give me the first page of results sorted oldest first."},{"title":"Paginate through full transaction history","prompt":"I already got the first batch of transactions for the Optimism address 0xAABB...CCDD — use the page key 'abc123xyz' to get the next page of results, up to 100 transactions, descending order."}],"resultDescription":"Returns a paginated list of asset transfer transactions on the Optimism network matching the specified filters, including transaction hashes, block numbers, from/to addresses, asset categories, values, and optionally full transaction metadata. Also returns a pageKey for fetching subsequent pages.","failureModes":["Invalid or missing address formats return a validation error","Non-existent block range returns empty results or an error","Invalid category enum values cause a 400 bad request","Expired or invalid pageKey may return an error or restart pagination","Rate limiting or payment failure returns a 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need historical transaction data specifically for the Optimism (OP Mainnet) blockchain. Prefer this over generic blockchain explorers when you need programmatic, paginated, and filterable access to address-level transaction history with metadata, and when you are already working within the Synapse API ecosystem for multi-chain queries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:03:37.909Z","isFirstParty":false}