namespace

Get namespace info by id and version

Changed on

Returns namespace details for the specific combination of namespace id (28 hex bytes) and version byte. Returns 204 if the namespace is not found.

get/namespace/{id}/{version}

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

Path parameters

idstring required

Namespace id in hexadecimal

versioninteger required

Version of namespace

Response

OK

blobs_countinteger
fibre_sizeinteger
hashstring base64
idinteger
last_heightinteger
last_message_timestring date-time
namestring string
namespace_idstring hex
pfb_countinteger
pff_countinteger
reservedboolean
sizeinteger
versioninteger

Example response

{
  "blobs_count": 10000,
  "fibre_size": 12345,
  "hash": "U3dhZ2dlciByb2Nrcw==",
  "id": 321,
  "last_height": 100,
  "last_message_time": "2023-07-04T03:10:57+00:00",
  "name": "name",
  "namespace_id": "4723ce10b187716adfc55ff7e6d9179c226e6b5440b02577cca49d02",
  "pfb_count": 12,
  "pff_count": 10000,
  "reserved": true,
  "size": 12345,
  "version": 1
}

Changes