XEM
POST
GET
Last updated on January 1, 1970
3 min read
Method /namespace/root/page undefined ()
connect with REST protocol
/namespace/root/page
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"
}
}
]
}
Start Building with GetBlock RPCs for Free
Previous
{ "overview": "Overview", "guides": "Guides", "get-started": "Get Started", "rpc-service": "Nodes Methods", "getblock-explorer": "Explorer API", "getblock-tracker": "Tracker API", "nodes-endpoints": "Nodes Endpoints" }
Next
{ "overview": "Overview", "guides": "Guides", "get-started": "Get Started", "rpc-service": "Nodes Methods", "getblock-explorer": "Explorer API", "getblock-tracker": "Tracker API", "nodes-endpoints": "Nodes Endpoints" }