Account
GET/account
Returns the data related to an account. In order to get the data, send the account secret in the x-sideshift-secret
header.
info
x-sideshift-secret
is your account's private key.
Request
Header Parameters
x-sideshift-secret stringrequired
Responses
- 200
- 401
- 404
OK
- application/json
- Schema
- Example
Schema
id stringrequired
lifetimeStakingRewards stringrequired
unstaking stringrequired
staked stringrequired
available stringrequired
totalBalance stringrequired
{
"id": "YQMi62XMb",
"lifetimeStakingRewards": "89190.63",
"unstaking": "0",
"staked": "1079394.1646",
"available": "43034.51598382",
"totalBalance": "1122428.68058382"
}
Unauthorized
- application/json
- Schema
- Example
Schema
error object
message stringrequired
{
"error": {
"message": "Account required. Add x-sideshift-secret header"
}
}
Not Found
- application/json
- Schema
- Example
Schema
error object
message stringrequired
{
"error": {
"message": "Account not found"
}
}
Loading...