{"slug":"anywaypossible-com-api-treasury-bf43ba","title":"Preflight a Base USDC payment before an AI agent signs it","host":"anywaypossible.com","method":"POST","resource":"https://anywaypossible.com/api/treasury","category":"market","description":"Preflight a Base USDC payment before an AI agent signs it. Check live funding and gas, confirm Base chain intent, classify the destination as an EOA or contract, catch zero-address, token-contract, and self-payment hazards, and receive a machine-readable proceed, fund, review, or reject decision. No","price_listed":0.02,"price_asked":0.02,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":506,"reported_calls_30d":4,"reported_payers_30d":3,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"address":"0x1111111111111111111111111111111111111111","destinationAddress":"0x2222222222222222222222222222222222222222","expectedChainId":8453,"minGasReserveEth":"0.00005","plannedSpendUsdc":"1.00"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"address":{"description":"EVM wallet address on Base","pattern":"^0x[a-fA-F0-9]{40}$","type":"string"},"destinationAddress":{"description":"Optional intended payment recipient on Base; enables destination hazard checks","pattern":"^0x[a-fA-F0-9]{40}$","type":"string"},"expectedChainId":{"description":"Expected destination chain. This service only approves Base mainnet (8453).","enum":[8453],"type":"integer"},"minGasReserveEth":{"description":"Minimum ETH gas reserve; defaults to 0.00005","pattern":"^[0-9]+(\\.[0-9]{1,18})?$","type":"string"},"plannedSpendUsdc":{"description":"USDC amount the agent plans to spend; defaults to 1.00","pattern":"^[0-9]+(\\.[0-9]{1,6})?$","type":"string"}},"required":["address"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"address":{"type":"string"},"alerts":{"items":{"type":"string"},"type":"array"},"blockNumber":{"type":"integer"},"chainId":{"type":"integer"},"checks":{"items":{"type":"object"},"type":"array"},"decision":{"enum":["safe_to_pay","needs_funding","needs_gas","review_destination","reject"],"type":"string"},"destinationAddress":{"type":["string","null"]},"destinationKind":{"enum":["not_provided","eoa","contract"],"type":"string"},"eth":{"type":"string"},"gasShortfallEth":{"type":"string"},"limitations":{"items":{"type":"string"},"type":"array"},"minGasReserveEth":{"type":"string"},"network":{"type":"string"},"observedAt":{"format":"date-time","type":"string"},"paymentCapacity":{"type":"object"},"plannedSpendUsdc":{"type":"string"},"ready":{"type":"boolean"},"recommendedAction":{"type":"string"},"riskLevel":{"enum":["low","medium","high"],"type":"string"},"safeToProceed":{"type":"boolean"},"status":{"enum":["ready","needs_usdc","needs_gas","needs_funding"],"type":"string"},"usdc":{"type":"string"},"usdcShortfall":{"type":"string"}},"required":["address","destinationAddress","destinationKind","network","chainId","status","ready","safeToProceed","decision","riskLevel","recommendedAction","eth","usdc","plannedSpendUsdc","minGasReserveEth","usdcShortfall","gasShortfallEth","paymentCapacity","checks","alerts","limitations","blockNumber","observedAt"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":506,"error":null}],"description_full":"Preflight a Base USDC payment before an AI agent signs it. Check live funding and gas, confirm Base chain intent, classify the destination as an EOA or contract, catch zero-address, token-contract, and self-payment hazards, and receive a machine-readable proceed, fund, review, or reject decision. No account or API key.","last_updated":"2026-08-30T15:43:25.089Z","schemes":["exact"]}