v0/headerGET
v0/data_root_inclusion_proofGET
v0/blobPOST
v0/blobGET
v0/blob/get_allPOST
v0/blob/statusGET
v0/blob/get_commitmentPOST
v0/gas_priceGET

POST v0/blob/get_commitment
Create Commitments for Data Blobs
Calculates a Commitment for each provided pair of namespace and blob data. You can include multiple namespace and blob pairs in a single request, and a Commitment will be returned for each pair in the same order they were provided.
Note: The maximum request size is 4,000,000 bytes. If your request exceeds this amount, please contact us at orion@t.tech.
Body Parameters
namespacearray<20 character hexadecimal string>REQUIRED
An array of namespaces for the data blobs you may post. 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.
dataarray<hexadecimal string>REQUIRED
An array of data blobs, each encoded in hexadecimal format. Each data entry can be up to just under two mebibytes (MiB).Read more about maximum blob size on the Celestia Docs here.
Response
commitmentarray<string>
An array of cryptographic hashes for the data blobs. Can be used to prove that the blob was made available when submitted to the Celestia network.
Example Response
Request

curl \
  -X POST 'https://t.tech/v0/blob/get_commitment' \
  -H 'Authorization: Bearer <YOUR API KEY>' \
  -H 'Content-Type: application/json' \
  -d '{"namespace": ["97e1b5a7cc1f7019e423", "a4c2e8b1d7f93a5c6e12"], "data": ["758d869212c4061f", "e3b7c2a1d4f9856c"]}'
twinkle logo text
Enabling builders