{"uid":"cap_0c1Ge_LhRin-SzdCfR01W","slug":"signalharness-merkle-root-compute-91a434c4","name":"SignalHarness Merkle Root Compute","description":"Explore 330 pay-per-call x402 API services and 27 agent-native digital products, with Base USDC pricing, secure Polar checkout, and free discovery.","url":"https://signalharness.ai/api/agent/services/merkle_root_compute/invoke","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"merkle_root_request":{"type":"string","maxLength":65536,"minLength":2}}},"responseSchema":{"type":"json","example":{"replay":false,"result":{"warnings":["The service trusts supplied leaves and never proves inclusion by itself."],"service_id":"merkle_root_compute","merkle_root":"{\"layer_widths\":[2,1],\"root\":\"0x71d8979cbfae9b197a4fbcc7d387b1fae9560e2f284d30b4e90c80f6bc074f57\",\"sorted_pairs\":true}","evidence_scope":"caller_supplied_data"},"status":"succeeded","receipt":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","usage":[],"status":"succeeded","network":"eip155:8453","artifacts":[],"endedAtMs":0,"latencyMs":0,"paymentId":"example-payment","receiptId":"example-receipt","requestId":"example-request","serviceId":"merkle_root_compute","executionId":"example-execution","startedAtMs":0,"amountAtomic":"10000","resultSha256":"503721281232260ecfe1384954c1f92b76f37f1b7b25e37ffb760d09b04cf42e","serviceVersion":"1.0.0","settlementReference":"0x0000000000000000000000000000000000000000000000000000000000000000"},"artifacts":[],"requestId":"example-request","executionId":"example-execution"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KszNKMLjbQmfFwV8ZKeln","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a cryptographic Merkle root hash from caller-supplied data, returning the root hash with evidence scope and audit receipt.","exampleAgentPrompt":"Compute the Merkle root for this dataset so I can use it as a tamper-evident commitment: [\"record1\",\"record2\",\"record3\",\"record4\"].","exampleUseCases":[{"title":"Blockchain data anchoring","prompt":"I need to anchor a batch of transaction records on-chain — can you compute a Merkle root from this list of 50 transaction IDs so I can store just the root hash in a smart contract?"},{"title":"Audit trail integrity proof","prompt":"We have a set of log entries from our system and need to prove they haven't been tampered with — compute a Merkle root from these entries so we can compare it against our stored commitment later."},{"title":"Document set commitment","prompt":"Before I share these 12 contract documents with a counterparty, I want a Merkle root that proves I committed to exactly this set — can you compute it from the list of document hashes I have here?"}],"resultDescription":"Returns a JSON object containing the computed merkle_root hash string, evidence_scope indicating the data was caller-supplied, any warnings encountered, and a full audit receipt including paymentId, receiptId, requestId, executionId, resultSha256, network, asset, amountAtomic, latencyMs, and service version metadata.","failureModes":["Invalid or malformed merkle_root_request string (too short, not valid JSON or text) returns an error","Input exceeds 65536 character limit causing rejection","Payment failure via x402 protocol prevents execution","Empty or null input rejected by minLength:2 constraint","Network or service unavailability returns non-200 status"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, auditable, cryptographically sound Merkle root computed as a managed API call with a receipt and payment trail, rather than running local Merkle tree library code. Especially useful for agents that need an on-chain-ready commitment hash with a signed receipt for auditability, or when the agent environment lacks a cryptography library.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T19:01:50.548Z","isFirstParty":false}