Skip to content
BLOBPEDIAby Unity Nodes
Documentation/rpc/JSON-RPC methodView on rpc
rpc/JSON-RPC method

blobstream.GetDataRootTupleInclusionProof

**GetDataRootTupleInclusionProof creates an inclusion proof, for the data root tuple of block height height, in the set of blocks defined by start and end. The range is end exclusive. It's in the header module because it only needs access to the headers to generate the proof. **

Auth level: read

Params:

[{"name":"height","description":"uint64","summary":"","schema":{"examples":[42],"type":["integer"]},"required":true,"deprecated":false},{"name":"start","description":"uint64","summary":"","schema":{"examples":[42],"type":["integer"]},"required":true,"deprecated":false},{"name":"end","description":"uint64","summary":"","schema":{"examples":[42],"type":["integer"]},"required":true,"deprecated":false}]

Result:

{"name":"*DataRootTupleInclusionProof","description":"*DataRootTupleInclusionProof","summary":"","schema":{"examples":[{"total":42,"index":42,"leaf_hash":"Ynl0ZSBhcnJheQ==","aunts":["Ynl0ZSBhcnJheQ=="]}],"additionalProperties":false,"properties":{"aunts":{"items":{"media":{"binaryEncoding":"base64"},"type":"string"},"type":"array"},"index":{"type":"integer"},"leaf_hash":{"media":{"binaryEncoding":"base64"},"type":"string"},"total":{"type":"integer"}},"type":["object"]},"required":true,"deprecated":false}