Skip to main content

blob.GetProof RPC

Retrieves proofs in the given namespaces at the given height by commitment.

Updated on
Nov 7, 2024

blob.GetProof 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
array
The result array which contains the following fields:
start
integer
The starting index in the structure that this proof segment covers, indicating the beginning of the proof range
end
integer
The ending index in the structure that this proof segment covers, marking the last entry in the proof range
nodes
string
An array of base64-encoded strings representing intermediary nodes within the Merkle proof path. These nodes are used to verify data integrity by reconstructing hashes up the Merkle tree
is_max_namespace_ignored
boolean
A boolean indicating whether the maximum namespace value is disregarded during verification for this proof, which can optimize certain types of queries by skipping over non-essential namespace entries
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.GetProof",
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