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
- x-wallet-id: Wallet identifier.
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
Code | Meaning | Description |
---|---|---|
0 | Closed | The connection between the wallet and the full node has been interrupted. |
1 | Connecting | The wallet is establishing the connection to the full node. |
2 | Syncing | The wallet is loading the transactions. |
3 | Ready | The wallet is ready to respond to requests. |
4 | Error | An internal error has been identified by the wallet. |