iridium_walletd getStatus method

The getStatus method returns information about the current RPC Wallet state: block_count, known_block_count, last_block_hash and peer_count.

back to methods summary

No input :

Output :

ArgumentDescriptionFormatExample
blockCountNode's known number of blocks uint32 123456
knownBlockCountMaximum known number of blocks of all seeds that are connected to the node uint32 123456
lastBlockHash Hash of the last known block string 8a6f1cb7ed7a9db4751d7b283a0482baff20567173dbfae136c9bceb188e51c4
peerCountConnected peers number uint32 6

Input Example:

{  
  'params':{  
  },
  'jsonrpc':'2.0',
  'id':'test',
  'method':'getStatus'
}

Return example:

{  
  'jsonrpc':'2.0',
  'id':'test',
  'result':{  
     'peerCount':2,
     'blockCount':1,
     'lastBlockHash':'8a6f1cb7ed7a9db4751d7b283a0482baff20567173dbfae136c9bceb188e51c4',
     'knownBlockCount':0
  }
}

back to methods summary