Skip to main content

blob.Included RPC

Checks whether a blob's given commitment(Merkle subtree root) is included at given height and under the namespace.

Updated on
Nov 7, 2024

blob.Included 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
array
array
REQUIRED
An array object 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
array
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
commitment
string
REQUIRED
A base64-encoded hash value that serves as a cryptographic commitment to the blob data, ensuring its integrity

Returns

result
boolean
Returns true if a blob's given commitment(Merkle subtree root) is included at given height and under the namespace, otherwise false
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.Included",
7
"params": [
8
2683915,
9
"AAAAAAAAAAAAAAAAAAAAAAAAAKKnitomrCy/HoY=",
10
[
11
{
12
"start": 31,
13
"end": 32,
14
"nodes": [
15
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAGVjbGlwc2UAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZWNsaXBzZaFKonaJySxHruAD8Be5sSW9DDf1HZ/3c3+C+qNAxa5q",
16
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAGVjbGlwc2UAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZWNsaXBzZTCdvAWFBqYVMu1gKxpvVlsannRXirNjkKCr1wAqkw/t",
17
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAGVjbGlwc2UAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZWNsaXBzZeLJoEI2ErjbL2buaJNnbw9ORCsedMX2K/WuicU3hM1R",
18
"AAAAAAAAAAAAAAAAAAAAAAAAABMKy/ZU1bLxit0AAAAAAAAAAAAAAAAAAAAAAAAAEwrL9lTVsvGK3bazytin5rCbt+DBWwoh8Kr5Rsh7P3tGU5Vo01lEoFyt",
19
"AAAAAAAAAAAAAAAAAAAAAAAAAFu5ROwv066cIvYAAAAAAAAAAAAAAAAAAAAAAAAAW7lE7C/Trpwi9tNKTGTlZD2NGFVKSEctTnA4NHmD0GJsHT1s8CZjnrkl",
20
"/////////////////////////////////////////////////////////////////////////////xpGx7qH34Zc2Wf+1Uh3RZevS7IUqB2Bxr2b+N2iNqGS"
21
],
22
"is_max_namespace_ignored": true
23
}
24
],
25
"LFKOxreekvepdicTIdalNyXer6F8Wro1zvWqSzLqS3Q="
26
]
27
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free