Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

/cosmos/staking/v1beta1/delegations/{delegator_addr} - Axelar

Example code for the cosmos/staking/v1beta1/delegations/{delegator_addr} REST method. Complete guide in GetBlock Web3 documentation.

Returns all delegations made by a delegator.

Endpoint

GET /cosmos/staking/v1beta1/delegations/{delegator_addr}

Path Parameters

Parameter
Type
Description

delegator_addr

string

Delegator address (axelar1…)

Example

export AKASH_REST=https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/

curl "${AKASH_REST}cosmos/staking/v1beta1/delegations/axelar1nl7dg3xj9j2y6q7z0v4w8c2b5d1f3g6h9k2m4p"

Response

{
    "delegation_responses": [
        {
            "delegation": {
                "delegator_address": "axelar1nl7dg3xj9j2y6q7z0v4w8c2b5d1f3g6h9k2m4p",
                "validator_address": "axelarvaloper1nl7dg3xj9j2y6q7z0v4w8c2b5d1f3g6h9k2m4p",
                "shares": "1000000.0"
            },
            "balance": {
                "denom": "uaxl",
                "amount": "1000000"
            }
        }
    ],
    "pagination": {
        "total": "1"
    }
}

Response Fields

Field
Type
Description

delegation_responses

array

Delegations with validator and staked balance

Use Cases

  • Portfolio: Show staking positions

Error Handling

Error
Message
Description

400 / Bad request

Bad request

A parameter was invalid

403 / RBAC: access denied

Access denied

The GetBlock access token is missing or incorrect

Last updated

Was this helpful?