namespace

Get namespace blob by commitment on height

Changed on

Returns the raw blob data from the Celestia DA layer for the given block height, namespace hash, and commitment. Requires API key authorization. To authorize your requests you have to select the required tariff on our site. Then you receive api key to authorize. Api key should be passed via request header apikey.

post/blob

Request

  • Base URL
    api-mainnet.celenium.io (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    API key in header apikey

Request body

commitmentstring required
hashstring required
heightinteger required

Example request

{
  "commitment": "vbGakK59+Non81TE3ULg5Ve5ufT9SFm/bCyY+WLR3gg=",
  "hash": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAs2bWWU6FOB0=",
  "height": 123456
}

Response

OK

commitmentstring base64
content_typestring string
datastring base64
namespacestring base64
share_versioninteger

Example response

{
  "commitment": "vbGakK59+Non81TE3ULg5Ve5ufT9SFm/bCyY+WLR3gg=",
  "content_type": "image/png",
  "data": "b2sgZGVtbyBkYQ==",
  "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAs2bWWU6FOB0="
}

Changes