{"uid":"cap_vAnxfkwwP442alIOOOire","slug":"phantom-api-linea-transaction-history-40957016","name":"Phantom API — Linea Transaction History","description":"Lightning-fast access to blockchain data, smart contract insights, and Web3 infrastructure across 57+ networks. Pay-per-call via x402.","url":"https://phantom-api-omega.vercel.app/api/linea/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_F-zJH5CPeGIggmAe-ZvzS","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 Linea blockchain network, with filtering by block range, category, and address.","exampleAgentPrompt":"Pull the last 25 transactions involving wallet 0xABC...123 on the Linea network, sorted newest first, including metadata and excluding zero-value transfers.","exampleUseCases":[{"title":"Wallet activity audit on Linea","prompt":"Show me all transactions sent from wallet 0xDEAD...BEEF on Linea between block 1000000 and 2000000, sorted in ascending order, with metadata included."},{"title":"Token transfer monitoring for DeFi","prompt":"Get the last 50 incoming token transfers to address 0x1234...5678 on the Linea network, filtering out zero-value transfers and including full metadata."},{"title":"Portfolio transaction history export","prompt":"Fetch all ERC-20 and internal transactions involving wallet 0xAABB...CCDD on Linea from block 500000 onwards, sorted descending, up to 100 results."}],"resultDescription":"A paginated list of transactions on the Linea network matching the specified filters, including transaction hashes, block numbers, from/to addresses, asset categories, values, and optional metadata. A pageKey is returned for fetching subsequent pages.","failureModes":["Invalid or malformed wallet address returns an error","Block range out of bounds or non-existent returns empty results","Invalid category enum value returns a validation error","Network timeout if Linea RPC node is unavailable","maxCount exceeding API limits may result in truncated or error response","Invalid pageKey causes pagination failure"],"whenToPreferThis":"Use this endpoint when you need historical transaction data specifically on the Linea blockchain network and want fine-grained control over filtering by address, block range, transaction category, and sort order. Prefer this over generic block explorers when you need machine-readable, paginated results for programmatic processing or agent workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:44:19.897Z","isFirstParty":false}