List Stake Keys
status: Experimental
List stake-keys relevant to the wallet, and how much ada is associated with each.
Path parameters
-
walletId
string(hex) Required Minimum length is
40
, maximum length is40
.
GET
/wallets/{walletId}/stake-keys
curl \
--request GET https://localhost:8090/v2/wallets/{walletId}/stake-keys
Response examples (200)
{
"ours": [
{
"index": 42,
"key": "stake1sjck9mdmfyhzvjhydcjllgj9vjvl522w0573ncustrrr2rg7h9azg4cyqd36yyd48t5ut72hgld0fg2x",
"stake": {
"quantity": 42000000,
"unit": "lovelace"
},
"reward_balance": {
"quantity": 42000000,
"unit": "lovelace"
},
"delegation": {
"active": {
"status": "delegating",
"target": "1423856bc91c49e928f6f30f4e8d665d53eb4ab6028bd0ac971809d514c92db1"
},
"next": [
{
"status": "not_delegating",
"changes_at": {
"epoch_number": 14,
"epoch_start_time": "2020-01-22T10:06:39Z"
}
}
]
}
}
],
"foreign": [
{
"key": "stake1sjck9mdmfyhzvjhydcjllgj9vjvl522w0573ncustrrr2rg7h9azg4cyqd36yyd48t5ut72hgld0fg2x",
"stake": {
"quantity": 42000000,
"unit": "lovelace"
},
"reward_balance": {
"quantity": 42000000,
"unit": "lovelace"
}
}
],
"none": {
"stake": {
"quantity": 42000000,
"unit": "lovelace"
}
}
}