Skip to main content

blob.Get RPC Method

Retrieves the blob by commitment under the given namespace and height.

Updated on
Nov 19, 2024

blob.Get RPC Method

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:
namespace
string
The namespace identifier for the blob, represented as a base64-encoded string
data
string
The actual data contained within the blob, encoded in base64 format
share_version
integer
An integer indicating the version of the share protocol used for encoding the blob data
commitment
string
A base64-encoded hash value that serves as a cryptographic commitment to the blob data, ensuring its integrity
index
integer
A numerical index indicating the blob's position or order within a set of blobs at the specified block height
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.Get",
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