Masternodes
How to create, manage or delete a masternode on the NodeHub.io platform via API.
Get all nodes
GET
https://api.nodehub.io/v1/nodes
This endpoint returns list of your nodes with their related information.
Headers
Authorization*
string
Authentication token you've generated in your account
Get a specific node
GET
https://api.nodehub.io/v1/nodes/:id
This endpoint returns information about the node that you've specified.
Path Parameters
id*
string
ID of the node
Headers
Authorization*
string
Authentication token you've generated in your account
Create a node
POST
https://api.nodehub.io/v1/nodes
This endpoint allows you to create a node.
Headers
Authorization*
string
Authentication token you've generated in your account
Request Body
currency*
string
NodeHub ID of the project
txid*
string
Transaction ID of the collateral
payee
string
Optional custom payout address for DIP003 based masternodes
burntxid*
string
Required for Sinovate
package*
string
Dedicated or Cloud plan.
address*
string
Required for Horizen and XMR based masternodes
secretkey
string
Optional for DIP003 and XMR based masternodes. Allows migration of the masternode with the given secret key / BLS key / operator key.
Start a node
POST
https://api.nodehub.io/v1/nodes/:id/start
This endpoint allows you to start your DIP003 masternodes by sending the signmessage
data.
Headers
Authorization*
string
Authentication token you've generated in your account
Path Parameters
id*
string
ID of the node
Request Body
output*
string
Sign message
Delete a node
DELETE
https://api.nodehub.io/v1/nodes/:id
This endpoint deletes your specified node.
Headers
Authorization*
string
Authentication token you've generated in your account
Path Parameters
id*
string
ID of the node
Last updated