§ 00 — USE CASES

Every party needs proof. Every payment needs a condition.

From AI agent swarms to on-chain data pipelines — LogicNodes replaces trust with verifiable logic across every autonomous transaction scenario.

Condition types
8
Settlement time
< 2s
Fee on success
1%
On failed proof
100% refund

Six patterns, one primitive

Each use case maps to one or more of the eight condition types. Mix and combine using multi for complex multi-step flows.

01 / 06 api_response_match

AI Agent Payment

Agent A contracts Agent B to complete a task. Rather than relying on Agent B's self-reported completion, Agent A locks USDC in escrow. Payment releases only when B's own API endpoint returns the expected result — machine-verifiable, no human oversight required. Ideal for LLM-powered pipelines, autonomous workflows, and swarm-based task delegation.

"condition_type": "api_response_match" "condition_value": '{"status":"task_complete"}' "proof": "https://agent-b.io/api/job/7f2a"
02 / 06 hash_match

Code Deployment Verification

A development team is paid on successful deployment of a smart contract or WASM artifact. The escrow's condition_value is the expected SHA-256 hash of the compiled bytecode. The evaluator checks the deployed artifact against the committed hash — payment flows only when the deployed code matches exactly. No ambiguity, no partial credit disputes.

"condition_type": "hash_match" "condition_value": "sha256:e3b0c44298fc1c14..." "proof": "sha256:e3b0c44298fc1c14..."
03 / 06 schema_validate

Data Pipeline Quality

A data buyer locks payment for a structured dataset delivery. The escrow condition specifies a JSON Schema — column names, types, required fields, row count ranges. The data provider delivers the dataset and submits it as proof. The evaluator validates the payload against the schema and releases payment only on a valid, complete dataset. No more disputes over missing columns or wrong types.

"condition_type": "schema_validate" "condition_value": {"type":"array","items":{...}} "proof": [{"user_id":1,"score":0.94},...]
04 / 06 multi

Multi-sig Conditional Release

Complex disbursements requiring multiple independent conditions to all be satisfied before funds release. Combine any mix of condition types — for example: require a hash_match to confirm code delivery AND an api_response_match confirming the CI pipeline passed AND a sig_valid from a designated approval key. All three must resolve to PASS before settlement occurs.

"condition_type": "multi" "condition_value": [ {"type":"hash_match","required":true}, {"type":"api_response_match","required":true}, {"type":"sig_valid","required":true} ]
05 / 06 gas_below

Gas-Efficient Settlement

High-value on-chain operations are time-sensitive but not always block-sensitive. Lock USDC for a batch settlement that only executes when Base gas prices drop below a target threshold. Ideal for large NFT batch mints, DeFi protocol rebalancing operations, or any automation that can afford to wait for cheap block space without operator supervision.

"condition_type": "gas_below" "condition_value": "3" // Releases when Base gas < 3 Gwei // No proof required — oracle reads chain
06 / 06 peg_held

Oracle Price Peg

DeFi protocols and institutional counterparties sometimes need payment contingent on a stablecoin or asset maintaining its peg throughout a defined window. Lock funds with a peg_held condition — specify the asset, the target peg price, and the tolerance band. The evaluator monitors the Chainlink price feed and only releases when the asset has stayed within ±0.5% for the full escrow window.

"condition_type": "peg_held" "condition_value": { "asset": "USDC", "peg": 1.00, "tolerance": 0.005 }

Which condition type fits your use case?

Use this table to quickly map your scenario to the right primitive. Mix conditions with multi for compound verification requirements.

I need to verify… Condition type Proof source
A file or artifact matches an agreed version hash_match SHA-256 hash of delivered artifact
A remote API returned expected output api_response_match Live HTTP request by evaluator oracle
A delivered dataset conforms to a schema schema_validate JSON or Avro dataset payload
A message was signed by an expected key sig_valid ECDSA / Ed25519 signature hex
Network gas is cheap enough to execute gas_below Evaluator reads Base gas directly
An asset has held its peg throughout the window peg_held Evaluator reads Chainlink price feed
A specific block height has been reached block_after Evaluator reads current block number
Multiple conditions are all satisfied multi Array of proofs matching sub-conditions

Ready to build?

Your first payment lock is free. No subscription, no credit card — just a wallet address and an API key. Ship verifiable machine-to-machine payments in minutes.