Get information of a given address.
GET/wallet/address-info
Get information of a given address.
Request
Query Parameters
address stringrequired
Address to get information of
token string
Filter the information to a custom token or HTR (default: HTR)
Header Parameters
x-wallet-id stringrequired
Defines the key of the wallet on which the request will be executed.
Responses
- 200
Address information or handled error
- application/json
- Schema
- success
- wallet-not-ready
- invalid-parameter
- no-wallet-id
- invalid-wallet-id
Schema
any
Success
{
"success": true,
"total_amount_received": 9299200,
"total_amount_sent": 6400,
"total_amount_available": 9292800,
"total_amount_locked": 0,
"token": "00",
"index": 0
}
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...