{"definitionRoot":"6768c90f9224fa4c4368f96455a4c959e61b57ff27e557410a72a8bbbe01d94a","docsPath":"/docs/MERKLE_ALLOWLIST_BUILD.json","errors":[{"code":null,"description":"The request field is invalid.","status":400},{"code":null,"description":"Payment Required - an x402 v2 offer in the PAYMENT-REQUIRED header and body.","status":402},{"code":null,"description":"The result could not be delivered.","status":422},{"code":null,"description":"The seller or the product quote path is not currently admitting this request.","status":503}],"examples":{"deliverable":null,"detail":"Concrete request/deliverable examples are omitted until real settled evidence supplies them; the no-fake-demand rule forbids inventing sample payloads. The envelope shapes above are exact.","request":null,"state":"OMITTED_UNTIL_REAL_EVIDENCE"},"family":"UTILITY","familyTitle":"Utility","freshness":{"evidenceCutoff":"Every delivered envelope states its own evidenceCutoff; requests may pin evidenceCutoff at or before quote time.","freshnessClass":"CACHEABLE_SNAPSHOT","latencyClass":"FAST","machineVersion":"df8b5c0c","outputDomainKind":null,"provenance":"The deliverable carries its own uncertainty statement; citations are opaque content hashes for the public evidence used."},"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"entries":{"description":"1 to 5000 rows, each an array with one value per leafEncoding column, e.g. [\"0x1111111111111111111111111111111111111111\",\"5000000000000000000\"].","items":{},"type":"array"},"leafEncoding":{"description":"Optional elementary Solidity types per column; default [\"address\",\"uint256\"].","items":{},"type":"array"},"proofLimit":{"description":"Optional number of proofs returned (1 to 1000; default all remaining up to 1000). The root always covers every entry.","type":"integer"},"proofOffset":{"description":"Optional index of the first entry whose proof is returned (default 0).","type":"integer"}},"required":["entries"],"type":"object","x-arbiter-contentType":"application/json","x-arbiter-schemaVersion":"1.0.0"},"method":"POST","operationId":"agenthubmachinemerkle_allowlist_build","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"duplicateCount":{"description":"Rows whose leaf repeats an earlier row.","type":"integer"},"duplicates":{"description":"Up to 256 {index, duplicateOf} pairs.","items":{},"type":"array"},"entryCount":{"description":"Number of entries in the tree.","type":"integer"},"format":{"description":"standard-v1 (OpenZeppelin StandardMerkleTree).","type":"string"},"leafEncoding":{"description":"Canonical column types used.","items":{},"type":"array"},"page":{"description":"{proofOffset, proofLimit, returned, complete, nextProofOffset}.","type":"object"},"program":{"description":"Program identity: {id, version, programRoot, registryRoot}.","type":"object"},"proofs":{"description":"{index (input row), treeIndex, leaf, proof[]} for the requested page.","items":{},"type":"array"},"provenance":{"description":"Deliverable provenance: {basis: BUYER_SUPPLIED_INPUT_AND_ARBITER_AUTHORED_CODE, thirdPartyData: false, networkAccess: false, inputRoot, programRoot, outputRoot}. inputRoot is hashCanonical of your exact request (keys sorted, strings byte-exact).","type":"object"},"root":{"description":"Merkle root over every entry.","type":"string"},"sortLeaves":{"description":"Always true (the OpenZeppelin default).","type":"boolean"},"uncertainty":{"description":"Plain-language limits of this computation.","type":"string"}},"required":["format","root","leafEncoding","sortLeaves","entryCount","proofs","page","duplicateCount","duplicates","program","provenance","uncertainty"],"type":"object","x-arbiter-contentType":"application/json","x-arbiter-schemaVersion":"1.0.0"},"payment":{"admitted":true,"challengeHeader":"PAYMENT-REQUIRED","destination":{"address":"0x63aA5960943865e7d57FDdF0D899eE36B6D2046E","assetContracts":["0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","0xe15fC38F6D8c56aF07bbCBe3BAf5708A2Bf42392","0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","0x754704Bc059F8C67012fEd69BC8A327a5aafb603","0xaf88d065e77c8cC2239327C5EDb3A432268e5831","0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E","0x3600000000000000000000000000000000000000","0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"],"bindingVersion":"a2f250e514c4a05c34efc98c49a4f4ac01a67770884883d19ff3a6487972ed90","networks":["eip155:1","eip155:10","eip155:1329","eip155:137","eip155:143","eip155:42161","eip155:43114","eip155:5042","eip155:8453"],"resolvable":true,"source":"x402_seller_configuration.payTo"},"logicalPaymentHeader":"ARBITER-LOGICAL-PAYMENT-ID","payToSource":"the canonical RevenueWalletResolver binding (x402_seller_configuration.payTo); never an environment value and never a literal","paymentIdentifier":{"extension":"payment-identifier","semantics":"Retries carrying the same payment identifier return the cached delivery with the same receipt: no second settlement, no second work, no second delivery credit.","supported":true},"processingSemantics":"A 202 means verification or settlement is still in progress; retry the same call with the same payment and the same payment identifier.","protocol":"X402_V2","protocolVersion":2,"quoteHeader":"ARBITER-QUOTE-ID","scheme":"exact","signatureHeader":"PAYMENT-SIGNATURE"},"pricing":{"currency":"USD","floorUsd":0.001,"mode":"DYNAMIC_QUOTE","ownerCeilingUsd":null,"pricingClass":"CACHEABLE_UNIT","publicStartingPriceUsd":0.001},"productId":"MERKLE_ALLOWLIST_BUILD","productVersion":"1.1.0","provenance":{"basis":"YOUR_INPUT","protocols":[],"sources":["Your request only, computed by Arbiter's own registered program (no third-party data, no network)"]},"resourceUrl":"https://arbiterverse.com/api/x402/MERKLE_ALLOWLIST_BUILD","schemaVersion":"1.0.0","summary":"Builds an OpenZeppelin StandardMerkleTree (standard-v1, sorted leaves, double-keccak leaves) from up to 5,000 rows, default [address, uint256] or your own elementary leafEncoding, and returns the root plus per-entry proofs verifiable with OpenZeppelin MerkleProof (up to 1,000 proofs per call; page larger lists with proofOffset; the root always covers every row). Duplicates are flagged. Example request: {\"entries\":[[\"0x1111111111111111111111111111111111111111\",\"5000000000000000000\"],[\"0x2222222222222222222222222222222222222222\",\"2500000000000000000\"]]} gives root 0xd4dee0beab2d53f2cc83e567171bd2820e49898130a22622b10ead383e90bd77. Offline.","title":"Merkle allowlist builder (standard-v1 tree format)"}