⚡ We welcome businesses to test our enterprise-grade service

xem
NEM (XEM)

Method: GET /namespace/root/page

dropdown

Method REST /namespace/root/page example for NEM (XEM)

GET /namespace/root/page

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

Parameters

id - integer

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 - integer

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"
            }
        }
    ]
}