{"uid":"cap_vq4TznNrOmsnJkV8_VS0S","slug":"payto-counterparty-check-base-evm-address-risk-screen-678714b4","name":"PayTo Counterparty Check – Base/EVM Address Risk Screen","description":"Pre-payment counterparty check for a Base (EVM) address: is it a contract or wallet, nonce (tx count), ETH and USDC balance, plus a simple risk note. Query: address. $0.01. Use before an agent sends funds.","url":"https://klane402.deanhiki.workers.dev/api/payto-check?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"address":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"note":"...","type":"eoa","usdc":5.2,"txCount":12}},"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_U4FVKIJ4Gntc75ur5ekLI","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":"Returns contract-vs-wallet classification, nonce, ETH balance, USDC balance, and a risk note for a given Base/EVM address before sending funds.","exampleAgentPrompt":"Before you send those funds, can you check the address 0xAbC123...def on Base — is it a contract or a real wallet, how many transactions has it sent, and what are its ETH and USDC balances? Flag any risk.","exampleUseCases":[{"title":"Pre-payment counterparty vetting","prompt":"I'm about to send 500 USDC to 0x1234567890abcdef1234567890abcdef12345678 on Base — can you check if it's a legit wallet or a contract, see how many transactions it's done, and tell me if there's anything risky about it?"},{"title":"DeFi protocol address sanity check","prompt":"Before my agent interacts with this address 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef, can you confirm it's a smart contract and not an EOA, and what ETH balance it's holding?"},{"title":"New payee onboarding risk screen","prompt":"We're adding a new vendor and they gave us 0xaAbBcCdDeEfF0011223344556677889900aAbBcC as their payment address — can you check its transaction history, USDC balance, and whether it looks risky before we whitelist it?"}],"resultDescription":"A JSON object containing: the account type ('eoa' for externally owned account or 'contract'), txCount (nonce / number of transactions sent), ETH balance, USDC balance on Base, and a free-text risk note summarizing any concerns.","failureModes":["Invalid or malformed Ethereum address returns an error response","Address not found on Base (zero activity) returns zeroed balances and a note indicating no history","RPC node unavailability may cause timeouts or 5xx responses","Missing 'address' query parameter results in a 400-style error","Payment not made results in 402 response before data is returned"],"whenToPreferThis":"Use this endpoint when an AI agent or workflow needs a quick, cheap ($0.01) pre-flight check on an EVM/Base address before executing a payment or interaction — specifically when you need contract-vs-wallet classification, nonce, and token balances in a single call without setting up your own RPC infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:39:35.589Z","isFirstParty":false,"canonicalSlug":"payto-counterparty-check-base-evm-address-risk-screen-678714b4"}