Skip to content

getStatus

AxVultis edited this page Nov 12, 2022 · 12 revisions

The getStatus method returns information about the current RPC Wallet state including the number of addresses, transactions, peers, and block information.

Request Format

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 10,
  "method": "getStatus"
}

Response Format

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 10,
  "result": {
    "addressCount": 1,
    "blockCount": 558450,
    "depositCount": 9,
    "knownBlockCount": 558450,
    "lastBlockHash": "c33ea5aa6eac5dd881659b1c9d2b54bceeca8e877c3b0e1159d678b42d3857e7",
    "peerCount": 8,
    "transactionCount": 39182
  }
}

Response Details:

Argument Description Format
addressCount Number of addresses in the container int
blockCount Node's known number of blocks int
depositCount Total number of deposits in the container int
knownBlockCount Maximum known number of blocks of all seeds that are connected to the node int
lastBlockHash Hash of the last known block string
peerCount Connected peers number int
transactionCount Total number of transactions in the container int

Possible Errors

  • Parse error - Incorrect formatting, JSON, or quotation marks used.
Clone this wiki locally