POST v0/blob/get_all

Get all Data Blobs

Retrieves all data blobs from the Celestia blockchain under the given namespaces at the given height. If all blobs were found without any errors, a list of blobs will be returned.

Request

curl \
  -X POST 'https://t.tech/v0/blob/get_all' \
  -H 'Authorization: Bearer <YOUR API KEY>' \
  -H 'Content-Type: application/json' \
  -d '{"height": 0, "namespaces": 7bc2b01a6908f6ea1260}'

Body Parameters

height
integerrequired

The block height at which the blobs were submitted in the Celestia blockchain.

namespaces
array<20 character hexadecimal string>required

An array of namespaces for the data blobs you wish to retrieve. Each namespace value must be exactly twenty characters of valid hexadecimal text. This corresponds to a V0 Celestia Namespace ID. Read more about namespace IDs at the Celestia Docs here.

network
stringoptional

The Celestia network to which the data blob should be posted. Can be either mainnet or mocha-4. Defaults to mainnet if no value is specified. Read more about networks on the Celestia Docs here.

Response

array<JSON object>
commitmentstring

The commitment of the blob, which is a hash of the blob data.

datastring

The data of the blob, encoded in base64.

indexinteger

A numerical index indicating the blob’s position or order within a set of blobs at the specified block height

namespacestring

The namespace of the blob.

shareVersioninteger

The share version of the blob.

Example Response