v1

latestSwagger 2.02026-07-17127100479.5 KB
namespace

Get namespace info by base64

Returns namespace details for the given base64-encoded namespace identity (version byte + namespace id). Returns 204 if the namespace is not found.

get/namespace_by_hash/{hash}

Path parameters

hashstring required

Base64-encoded namespace id and version

Response

OK

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

Example response

{
  "blobs_count": 10000,
  "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,
  "reserved": true,
  "size": 12345
}