merkle verify
buscalc_chain_merkle_verifyVerify a BusCalc Merkle proof bundle (format buscalc-merkle-proof/2). construction "rfc6962" (documents: leaf = SHA-256(0x00 || document SHA-256), node = SHA-256(0x01 || left || right), RFC 9162 inclusion check from leafIndex/treeSize) or "bitcoin" (Bitcoin block data only). Any other format or construction is refused. Optionally compares the document SHA-256 (or txid) and a trusted root. Put tool fields inside inputs. Supply units or modelVersion only when listed in inputSchema. Follow its required fields and exact choices. Do not pass the REST calculator field inside MCP arguments.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"inputs": {
"proof": {
"root": "8c14f0db3df150123e6f3dbbf30f8b955a8249b62ac1d1ff16284aefa3d06d87",
"entry": "8c14f0db3df150123e6f3dbbf30f8b955a8249b62ac1d1ff16284aefa3d06d87",
"proof": [],
"format": "buscalc-merkle-proof/2",
"treeSize": 1,
"leafIndex": 0,
"construction": "bitcoin"
}
}
},
"name": "buscalc_chain_merkle_verify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | Yes | ||
| modelVersion | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | No | ||
| inputs | Yes | ||
| receipt | Yes | ||
| results | Yes | ||
| sourceURL | Yes | ||
| calculator | Yes | ||
| modelVersion | Yes |