Last updated 1 year ago
delegator_addr defines the delegator address to query for.
A successful response.
delegation_responses defines all the delegations' info of a delegator.
pagination defines the pagination in the response.
const response = await fetch('/cosmos/staking/v1beta1/delegations/{delegator_addr}', { method: 'GET', headers: {}, }); const data = await response.json();
{ "delegation_responses": [ { "delegation": { "delegator_address": "text", "validator_address": "text", "shares": "text" }, "balance": { "denom": "text", "amount": "text" } } ], "pagination": { "next_key": "Ynl0ZXM=", "total": "text" } }