Lock → Verify → Release. One API call. Zero trust required between parties.
Payer deposits USDC into a LogicNodes escrow contract. Funds are immutably held until the defined condition resolves.
An evaluator oracle runs the condition — hash comparison, API check, schema validation — and records a signed Proof of Logic receipt.
On PASS the payee receives funds instantly. On FAIL the payer receives a 100% refund. No arbitration. No intermediary discretion.
Call POST /escrow/create with a condition, an amount, and two parties. LogicNodes handles contract deployment, oracle assignment, and settlement — you handle the logic that matters.
Every condition is evaluated by a signed oracle node. The evaluator's decision plus a cryptographic proof is stored on-chain as a Proof of Logic receipt.
| Condition Type | Description | Common Use Case |
|---|---|---|
| hash_match | Verifies that a given artifact's SHA-256 hash matches a pre-committed expected value. | Contract bytecode verification, file delivery confirmation, build artifact integrity. |
| api_response_match | Issues an HTTP request to a specified endpoint and checks that the JSON response matches an expected structure or value. | AI agent task completion, delivery status APIs, webhook confirmation. |
| schema_validate | Validates a delivered payload against a declared JSON Schema or Avro schema definition. | Data pipeline quality gates, ML training set delivery, structured content hand-offs. |
| sig_valid | Verifies an ECDSA or Ed25519 signature from an expected signing key over a specified message. | Identity attestation, signed document delivery, cross-chain message verification. |
| gas_below | Reads on-chain gas price from Base and releases only when it falls at or below a threshold (in Gwei). | Gas-sensitive batch settlements, cost-capped automation, time-indifferent bulk transfers. |
| peg_held | Checks an oracle price feed and passes only if the target asset remains within ±N% of its peg over the escrow window. | Stablecoin peg assurance, FX-triggered payments, DeFi protocol guarantees. |
| block_after | Releases funds after a specified block number has been confirmed on Base mainnet. | Time-locked vesting, delayed settlement, scheduled autonomous payments. |
| multi | Combines N conditions with AND / OR logic. Requires M-of-N sub-conditions to pass before resolving. | Multi-sig governance, complex SLA verification, composite delivery conditions. |
A Proof of Logic (POL) receipt is an immutable, signed record of what was evaluated, what the result was, and which oracle node made the determination. It lives on-chain and is forever auditable.
POL receipts serve as the audit trail for autonomous systems. Any party — payer, payee, or third-party auditor — can independently verify the evaluation outcome using only the receipt and the evaluator's public key.
Receipts are stored in the LogicNodes index and optionally pinned to IPFS. The pol_hash is emitted as a contract event on Base.
LogicNodes speaks x402, Circle, Stripe, and Coinbase Commerce natively. Machine-to-machine payments flow without human checkout — just an HTTP header.
HTTP 402 Payment Required header standard. Drop-in for any API server. Zero UI needed.
Native USDC settlement on Base mainnet. Programmatic issuance via Circle's API.
Fiat on-ramp integration. Auto-converts to USDC for escrow deposit. Stripe webhooks trigger settlement.
One-click crypto checkout. Deposit receipt verified, escrow activated — all server-side.
One free escrow, no credit card required. Full API access from day one.