{"uid":"cap_sl-ouhIUJbO9HweKYvKmB","slug":"halowerk-kettenwerk-wallet-pnl-1b3ab292","name":"HALOWERK kettenwerk Wallet PnL","description":"HALOWERK kettenwerk — bezahlte Endpunkte nach x402. Preise in USDC auf Base Mainnet.","url":"https://kette.netzhandwerker.de/wallet/pnl","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"chains":{"type":"array","items":{"type":"string"},"maxItems":2,"description":"Chains to query. Default: base. Each chain costs time, so the cap is two."},"method":{"enum":["fifo","lifo","average"],"type":"string","default":"fifo","description":"Cost basis method. The result depends on it and it is echoed in method_used."},"wallet":{"type":"string","description":"Wallet address, 0x followed by 40 hex characters."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.012","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.012/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MNSo8WUoE5wOXHxuIBQrj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.012","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates profit and loss (PnL) for a given wallet address across blockchain networks using a specified cost basis method (FIFO, LIFO, or average)","exampleAgentPrompt":"Can you calculate the profit and loss for my wallet 0xAbC1234567890abcdef1234567890abcdef123456 on Base using the FIFO cost basis method?","exampleUseCases":[{"title":"DeFi trader PnL review","prompt":"What's the profit and loss on my wallet 0xAbC1234567890abcdef1234567890abcdef123456 on Base using the FIFO method? I want to see how my trades have performed."},{"title":"Tax reporting cost basis check","prompt":"I need to calculate my crypto gains for tax purposes — can you run a LIFO cost basis PnL calculation for wallet 0xDeF9876543210fedcba9876543210fedcba987654 on Base?"},{"title":"Multi-chain portfolio performance","prompt":"Can you check the PnL for my wallet 0x1111aaaa2222bbbb3333cccc4444dddd5555eeee across both Base and Ethereum using the average cost method?"}],"resultDescription":"Returns a profit and loss calculation for the specified wallet address, broken down by the requested chain(s), including the cost basis method used (echoed as method_used) and computed gain/loss figures derived from on-chain transaction history.","failureModes":["Invalid wallet address format (not 0x + 40 hex chars) returns an error","Requesting more than 2 chains exceeds the cap and may fail or be truncated","Unsupported chain name causes query failure","Payment via x402/USDC on Base Mainnet not completed causes 402 response","Wallet with no transaction history may return zero or empty PnL","Network timeout if queried chains are slow to respond"],"whenToPreferThis":"Choose this endpoint when you need on-chain PnL computation for a specific wallet address with support for different cost basis accounting methods (FIFO, LIFO, average). It is particularly useful for DeFi portfolio analytics, crypto tax preparation, or trading performance reviews on Base or other supported EVM chains. Prefer this over generic portfolio trackers when you need cost-basis-aware PnL rather than just current balance or token holdings.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:41:17.792Z","isFirstParty":false}