Node
Last updated
Last updated
POST
https://www.allnodes.com/api/v1/node/hosting
This endpoint allows you to host new node.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
GET
https://www.allnodes.com/api/v1/node/utxo/{address}
This endpoint allows you to get list of all your collateral utxo.
GET
https://www.allnodes.com/api/v1/node/state/{hash}-{index}
This endpoint allows you to get hosting state of your collateral utxo.
GET
https://www.allnodes.com/api/v1/node/{id}/deterministic/prepare
This endpoint allows you to get results of "protx register_submit" command executed on our full node.
POST
https://www.allnodes.com/api/v1/node/{id}/deterministic/submit
This endpoint allows you to execute "protx register_submit" command on our full node with data provided through the API call. Registration in deterministic list will happen in 1 block after execution.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Authorization*
string
Bearer TOKEN
currencySymbol
string
Must be "FIRO"
collateralHash
string
Hash of your collateral UTXO
collateralIndex
number
Index of your collateral UTXO
nodeName
string
Name of your new node
walletType
string
"ledger" | "trezor" | "core"
address*
string
Your collateral address
Authorization*
string
Bearer TOKEN
hash*
string
Your collateral UTXO hash
index*
number
Your collateral UTXO index
Authorization*
string
Bearer TOKEN
id*
string
Node you want to register. ID can be extracted from the “Get all nodes” call
payeeAddress
string
Address for receiving masternode rewards
Authorization*
string
Bearer TOKEN
id*
string
Node you want to register. ID can be extracted from the “Get all nodes” call
Authorization*
string
Bearer TOKEN
signature
string
Signed "signMessage" from protx register_prepare command output
tx
string
"tx" from protx register_prepare command output