FULL NAME
SUBJECT
Customer Support
Customer Support
Business / Sales
Partnership
Feedback
Demo Request
Other
TEXT MESSAGE
0/300
⚡ We welcome businesses to test our enterprise-grade service
Method: GET /namespace/root/page
Gets the root namespaces. The requests supports paging, i.e. retrieving the root namespaces in batches of a specified size.
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.
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'
{ "data": [ { "meta": { "id": 5311 }, "namespace": { "fqn": "cloverclub", "height": 3800313, "owner": "NAMO2AOVUGYPBH6LIQRM3I227T6I6BXOQFYDAMFT" } }, { "meta": { "id": 5310 }, "namespace": { "fqn": "beer-money", "height": 3800112, "owner": "NBRFW5P3FIXAWV7AOXE6EOEZLZWCBIWHPUG5UT6O" } } ] }