{"uid":"cap_WYRC0XdEJhQCmlwmhLr38","slug":"coinopselect-batch-net-payment-calculator-c7e1b8b1","name":"CoinOpSelect Batch Net Payment Calculator","description":"Paid on-chain token, wallet, contract and research data over x402 on Base.","url":"https://coinop.publicvm.com/api/v1/batch/net?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"payments":{"type":"array","example":[{"id":"p1","to":"0xbbb","from":"0xaaa","amount":"100"},{"id":"p2","to":"0xbbb","from":"0xccc","amount":"200"}]}}},"responseSchema":{"type":"json","example":{"net":{},"query":"batch-net"}},"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_xeHphU5ruwHFv2_s32lUy","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":"Computes the net payment flows for a batch of on-chain payment transactions on Base, returning aggregated net amounts per address.","exampleAgentPrompt":"I have three on-chain payments to settle: address 0xaaa sent 100 to 0xbbb, address 0xccc sent 200 to 0xbbb, and 0xbbb sent 50 to 0xaaa — can you compute the net amounts each party owes or is owed?","exampleUseCases":[{"title":"Multi-party payment settlement","prompt":"I have a group of wallets that all owe each other money on Base — 0xaaa sent 100 to 0xbbb, 0xccc sent 200 to 0xbbb, and 0xddd sent 50 to 0xaaa. Can you figure out the net position for each address so we know who still needs to pay whom?"},{"title":"DAO treasury reconciliation","prompt":"Our DAO treasury made several payments this week: 0xtreasury sent 500 to 0xcontributor1 and 300 to 0xcontributor2, and 0xcontributor1 returned 100 to 0xtreasury. What is the net flow for each party?"},{"title":"Batch invoice netting for freelancers","prompt":"I need to net out invoices between three parties on Base: wallet 0xfreelancer sent 150 to 0xclient, 0xclient sent 400 to 0xfreelancer, and 0xagency sent 75 to 0xclient. What does each party net out to?"}],"resultDescription":"Returns a JSON object with a 'net' map showing the computed net payment positions across all submitted payment records, and a 'query' field confirming the operation type as 'batch-net'.","failureModes":["Malformed payment array entries cause validation errors","Missing required fields (id, to, from, amount) in payment objects result in rejection","Payment amount not parseable as a number causes computation failure","Empty payments array returns empty net object","x402 payment not included or insufficient USDC balance causes 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need to compute net payment positions across multiple on-chain transactions in a single call, especially when settling multi-party flows on Base. It is preferable to making individual lookups when you have a batch of payments to reconcile at once.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:20:41.440Z","isFirstParty":false,"canonicalSlug":"coinopselect-batch-net-payment-calculator-c7e1b8b1"}