Get the last loaded address index of a wallet.
GET/wallet/config/last-loaded-address-index
Get the last loaded address index of a wallet.
Request
Header Parameters
x-wallet-id stringrequired
Defines the key of the wallet on which the request will be executed.
Responses
- 200
Last address index loaded or handled error
- application/json
- Schema
- success
- wallet-not-ready
- invalid-parameter
- no-wallet-id
- invalid-wallet-id
Schema
any
Success
{
"success": true,
"index": 74
}
Wallet is not ready yet
{
"success": false,
"message": "Wallet is not ready.",
"state": 1
}
Invalid parameter
{
"success": false,
"error": [
{
"value": "\"1\"",
"msg": "Invalid value",
"param": "address",
"location": "query"
}
]
}
No wallet id parameter
{
"success": false,
"message": "Parameter 'wallet-id' is required."
}
Wallet id parameter is invalid
{
"success": false,
"message": "Invalid wallet-id parameter."
}
Loading...