nullclear_escrow_x402_call
Execute x402-gated HTTP API calls through deferred schema escrow; pay the seller only when the response matches your JSON Schema contract, otherwise spend $0.
Instructions
Execute an x402-gated HTTP API call through NullClear deferred schema escrow. The arbiter guarantees payment is only settled if upstream returns valid data matching your schema contract. If the seller hallucinates or crashes, $0 is spent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | GET | |
| targetUrl | Yes | Upstream API endpoint demanding x402 payment | |
| jsonSchema | No | JSON Schema draft-07 contract that response must strictly satisfy | |
| minTrustScore | No | Minimum acceptable trust score for seller (0-100, default 50) | |
| sellerAgentId | No | Seller's agent ID for reputation check and Sybil wash-trade gating | |
| requiredFields | No | Dot-notation field paths that must exist in response (e.g. ['data.price']) | |
| buyerPrivateKey | No | Optional buyer private key (defaults to BUYER_PRIVATE_KEY environment variable) |