New Here? Claim Your 30% Discount on Your First Blockchain Node Access!

banner image

Last updated on January 1, 1970

3 min read

Method /namespace/root/page undefined ()
connect with REST protocol

/namespace/root/page

info-circle-fill

Gets the root namespaces. The requests supports paging, i.e. retrievingthe root namespaces in batches of a specified size.

Parameters

id -

The topmost namespace database id up to which root namespaces are returned. The parameter is optional. If not supplied the most recent rented root namespaces are returned.

pagesize -

The number of namespace objects to be returned for each request. The parameter is optional. The default value is 25, the minimum value is 5 and hte maximum value is 100.

Request

curl --location --request GET 'https://xem.getblock.io//namespace/root/page?id=26754&pagesize=5'
 --header 'x-api-key: YOUR-API-KEY' 
 --header 'Content-Type: application/json'

Response

{
    "data": [
        {
            "meta": {
                "id": 5311
            },
            "namespace": {
                "fqn": "cloverclub",
                "height": 3800313,
                "owner": "NAMO2AOVUGYPBH6LIQRM3I227T6I6BXOQFYDAMFT"
            }
        },
        {
            "meta": {
                "id": 5310
            },
            "namespace": {
                "fqn": "beer-money",
                "height": 3800112,
                "owner": "NBRFW5P3FIXAWV7AOXE6EOEZLZWCBIWHPUG5UT6O"
            }
        }
    ]
}
banner icon

Start Building with GetBlock RPCs for Free