Skip to main content

GetRatesInfo

Query interest rate information

Parameter

  • none
{
"id" : "1",
"jsonrpc": "2.0",
}

Response

  • code: Return value number
    • -101:Failed to get the current highest block height
    • -102:Failed to claim Utxo via periodic fetch
    • -103:Failure to retrieve transaction via hash
    • -104:Deserialization transaction failed
    • -201:Failed to obtain the total burn amount
    • -202:Failed to get the burn amount through the cycle
    • -203:The amount destroyed on the day was greater than the total amount destroyed
    • -301:Failure to obtain the total investment amount
    • -302:Obtaining investment utxo through the cycle fails
    • -303:Failure to retrieve transaction via hash
    • -304:Deserialization transaction failed
    • -1:The earning Rate is greater than the threshold
  • TotalCirculatingSupply: Total circulation
  • TotalBurn: Total destruction
  • TotalStaked: Total stake
  • StakingRate: Stake rate
  • CurrentAPR: Annualized rate

Return to Example

{
"id": "1",
"jsonrpc": "2.0",
"method": "GetPeerList",
"result": {
"code": 0,
"message": "success",
"peerList": {
"listNodes": [
{
"addr": "0x0aFeBC02da4d5111d05d425e74e822B032274f2b",
"fd": 16,
"heartProbes": 3,
"height": 2491,
"ip": "192.168.1.100",
"ip_l": "192.168.1.81",
"kind": 1,
"name": "",
"port": 54432,
"port_l": 20619,
"version": "1_1.0.0_d"
},
{
"addr": "0xd57730E2CE30d412cea04689C9cDE2f0846df169",
"fd": 17,
"heartProbes": 3,
"height": 2491,
"ip": "192.168.1.110",
"ip_l": "192.168.1.81",
"kind": 1,
"name": "",
"port": 36004,
"port_l": 20619,
"version": "1_1.0.0_d"
}
],
"peernodeSize": 2
}
}
}