Skip to main content

blob.GetCommitmentProof RPC

Generates a commitment proof for a share commitment.

Updated on
Nov 7, 2024

blob.GetCommitmentProof RPC

Parameters

height
integer
REQUIRED
Specifies the block height from which to retrieve the blob
namespace
string
REQUIRED
Identifies the namespace of the blob within the block
commitment
string
REQUIRED
A base64-encoded hash value that serves as a cryptographic commitment to the blob data, ensuring its integrity

Returns

result
object
The result object which contains the following fields:
subtree_roots
array
An array of base64-encoded strings representing the roots of subtrees within the Merkle tree. Each root is a cryptographic representation of the data in that subtree
subtree_root_proofs
array
An array of proof objects related to the subtree roots
start
integer
The starting index of the subtree root within the data structure
end
integer
The ending index of the subtree root within the data structure
nodes
string
An array of base64-encoded strings representing intermediary nodes within the Merkle proof path for this subtree
is_max_namespace_ignored
boolean
A boolean indicating whether the maximum namespace is ignored in this proof
namespace_id
string
A base64-encoded string that uniquely identifies the namespace for this blob or data group, linking it to its specific domain or category
row_proof
object
The row_proof object which contains the following fields:
row_roots
array
An array of base64-encoded strings representing root hashes for each row in the data structure
proofs
array
An array containing individual proof objects for the row
total
integer
An integer representing the total number of leaves in the row being proven
index
integer
The index of the specific leaf being proven within the row
leaf_hash
string
A base64-encoded hash of the specific leaf node being proven
aunts
string
An array of base64-encoded hashes representing sibling nodes in the Merkle path, used to reconstruct and verify the row's root hash
start_row
integer
The starting row index for this proof within the data structure
end_row
integer
The ending row index for this proof within the data structure
namespace_version
integer
An integer indicating the version of the namespace used, allowing backward compatibility with older namespace versions
Request
1
curl --location 'https://docs-demo.celestia-mainnet.quiknode.pro/' \
2
--header 'Content-Type: application/json' \
3
--data '{
4
"id": 1,
5
"jsonrpc": "2.0",
6
"method": "blob.GetCommitmentProof",
7
"params": [
8
2683915,
9
"AAAAAAAAAAAAAAAAAAAAAAAAAKKnitomrCy/HoY=",
10
"LFKOxreekvepdicTIdalNyXer6F8Wro1zvWqSzLqS3Q="
11
]
12
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free