Node
1. Get Round History of a Node
page_number
int
current page number, starting from 1
page_size
int
entries on each page
Example response
code
int
error code
msg
String
if successful returns SUCCESS
, if failed returns failure description
result
String
if successful returns round history, if failed returns ""
2. Get incentives information of a node
page_number
int
current page number, starting from 1
page_size
int
entries on each page
Example Response
code
int
error code
msg
String
if successful returns SUCCESS
, if failed returns failure description
result
String
if successful returns incentive details, if failed returns ""
3. Get incentives information of a node using its public key
public_key
String
public key of a node
Response
code
int
error code
msg
String
if successful returns SUCCESS
, if failed returns failure description
result
String
if successful returns incentive details, if failed returns ""
Fields in an incentive details object:
public_key
String
public key of the node
address
String
wallet address of the node
name
String
node name
status
int
node type, 1
represents candidate node, 2
represents consensus node
current_stake
long
current stake of a node
node_released_ong_incentive
long
ONG incentive released to a node
node_released_ong_incentive_rate
String
ONG incentive earnings yield ratio of a node
user_released_ong_incentive
long
ONG incentive released to a user
user_released_ong_incentive_rate
String
ONG incentive earnings yield ratio of a user
node_gas_fee_incentive
long
gas fee received by a node
node_gas_fee_incentive_rate
String
gas fee earnings yield ratio of a node
user_gas_fee_incentive
long
gas fee received by a user
user_gas_fee_incentive_rate
String
gas fee earnings yield ratio of a user
node_foundation_bonus_incentive
long
foundation bonus received by a node
node_foundation_bonus_incentive_rate
String
foundation bonus earnings yield ratio of a node
user_foundation_bonus_incentive
long
foundation bonus received by a user
user_foundation_bonus_incentive_rate
String
foundation bonus earnings yield ratio of a user
4. Query On-Chain Configuration of Registered Nodes
address
String
Node staking wallet address
public_key
String
Node public key (operator wallet)
Response
node_apr
String
Node public key
user_apr
String
Node name
fee_sharing_ratio_node_t
String
Node stake's fee sharing ratio for node in round T
fee_sharing_ratio_node_t1
String
Node stake's fee sharing ratio for node in round T+1
fee_sharing_ratio_node_t2
String
Node stake's fee sharing ratio for node in round T+2
fee_sharing_ratio_user_t
String
User stake's fee sharing ratio for node in round T
fee_sharing_ratio_user_t1
String
User stake's fee sharing ratio for node in round T+1
fee_sharing_ratio_user_t2
String
User stake's fee sharing ratio for node in round T+2
promise_stake
String
Initial stake amount (non-reducible, withdrawn upon cancelling the node)
node_stake
String
Node stake amount
user_stake
String
User stake amount
total_stake
String
Node stake amount + user stake amount
cap
String
Maximum allowed amount of user stake
reward
String
ONG rewards from node staking
withdrawable_amount
String
Amount of ONT that can be withdrawn (or null)
locked_amount
String
Amount of ONT locked (or null)
current_round
Int
Current staking round
5. Get Staking Rewards of an Address (Supported from Round 244)
address
String
Required
Staking wallet address
public_key
String
Optional
Node public key
round
Int
Optional
Staking round
Response
address
String
Staking wallet address
public_key
String
Node public key
rewards
String
ONG rewards
round
Int
Staking round
6.Get Address Staking Snapshot (Supported from Round 244)
address
String
required
staking wallet address
public_key
String
option
node public key
round
int
option
staking round
Response
address
String
staking wallet address
public_key
String
node public key
rewards
String
ONG rewards
staked
String
valid stakeing ONT amount
processing
String
processing ONT amount
unstaking
String
unstaking ONT amount
withdrawable
String
withdrawable ONT amount
round
int
staking round
Last updated
Was this helpful?