Skip to main content

Get Root Node

Retrieves information about the root node of the system.

Request

GET /v2/admin/node/root

Headers

NameDescription
AuthorizationRequired. Bearer token for authentication

Example

curl --request GET \
--url '\{\{baseUrl\}\}/v2/admin/node/root' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...' \

Response

{
"id": "665ae536a6392b75cfd40352",
"parent_id": null,
"parent_name": null,
"name": "Apex",
"type": 1,
"status": 1,
"contract": {
"wallet": {
"public_key": "0xe29b892635672E59F102bf077fA9EDef64D2dA1A"
},
"fee_contract_address": null,
"listing_contract_address": null,
"rent_contract_address": null,
"burn_contract_address": null,
"secondary_contract_address": null,
"otc_contract_address": null
},
"meta": null,
"int_id": 1,
"path": "1",
"listed_token_count": 0,
"supervisor_count": 0,
"created_at": "2023-09-05T19:26:16.294Z"
}

Response Fields

FieldTypeDescription
idstringUnique identifier of the root node
parent_idstringAlways null for root node
parent_namestringAlways null for root node
namestringName of the root node (Apex)
typeintegerType of the node (1 for root)
statusintegerStatus code of the node
contractobjectContract details for the node
contract.wallet.public_keystringPublic key of the node's wallet
contract.fee_contract_addressstringAddress of the fee contract (may be null)
contract.listing_contract_addressstringAddress of the listing contract (may be null)
contract.rent_contract_addressstringAddress of the rent contract (may be null)
contract.burn_contract_addressstringAddress of the burn contract (may be null)
contract.secondary_contract_addressstringAddress of the secondary contract (may be null)
contract.otc_contract_addressstringAddress of the OTC contract (may be null)
metaobjectAdditional metadata (may be null)
int_idintegerInternal ID of the node (always 1 for root)
pathstringPath representation of the node hierarchy (always "1" for root)
listed_token_countintegerNumber of tokens listed under the node
supervisor_countintegerNumber of supervisors associated with the node
created_atstringISO 8601 timestamp of when the node was created

Status Codes

Status CodeDescription
200Success
401Unauthorized - Invalid or missing authentication token
500Internal Server Error