nullclear_execute_escrow
Execute a paid x402 API request protected by NullClear deferred non-custodial EIP-3009 escrow, custom JSON Schema/value invariants, multi-seller failover routing, and outbound spend caps (10 free trials/day, then requires configured wallet key). Settles upstream payment ONLY when all schema, numeric, staleness, and refusal checks pass; otherwise voids authorization ($0 lost). Use this instead of nullclear_fetch_guarded whenever calling third-party x402 paid APIs with strict output contracts or fallback sellers.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"targetUrl": "<targetUrl>"
},
"name": "nullclear_execute_escrow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | HTTP method for upstream call | GET |
| fallbacks | No | Up to 3 ordered backup seller objects ({ targetUrl, sellerAgentId, paymentSignatureHeader }) for automatic failover | |
| targetUrl | Yes | Primary upstream HTTPS endpoint demanding HTTP 402 payment | |
| invariants | No | Field-level semantic invariants (numeric bounds, regex, forbidden substrings, timestamp freshness) | |
| jsonSchema | No | JSON Schema Draft-07 object that upstream JSON must strictly satisfy | |
| spendPolicy | No | Outbound spend firewall caps ({ maxPerCallAtomic, maxDailyWalletAtomic }) | |
| minTrustScore | No | Minimum seller trust score (0-100, default 50) | |
| sellerAgentId | No | ERC-8004 seller agent ID for pre-flight trust and Sybil gating | |
| rejectRefusals | No | Void settlement if response contains canonical LLM refusal strings (default true) | |
| requiredFields | No | Dot-notation field paths that must exist in upstream JSON |