Skip to main content

Getting status

Getting the status of a wallet.

info

A wallet is only ready to be used once its statusCode is 3 and the statusMessage is "Ready".

Parameters

Request

curl -X GET -H "X-Wallet-Id: {wallet-id}" http://localhost:8000/wallet/status/

Response

{
"statusCode": 3,
"statusMessage": "Ready",
"network": "testnet",
"serverUrl": "http://localhost:8083/v1a/",
"serverInfo": {
"version": "0.31.1",
"network": "testnet-delta",
"min_weight": 14,
"min_tx_weight": 14,
"min_tx_weight_coefficient": 1.6,
"min_tx_weight_k": 100,
"token_deposit_percentage": 0.01,
"reward_spend_min_blocks": 3,
"max_number_inputs": 255,
"max_number_outputs": 255
}
}

Wallet statuses

CodeMeaningDescription
0ClosedThe connection between the wallet
and the full node has been interrupted.
1ConnectingThe wallet is establishing
the connection to the full node.
2SyncingThe wallet is loading
the transactions.
3ReadyThe wallet is ready
to respond to requests.
4ErrorAn internal error has been
identified by the wallet.