Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StakingAPI

Hierarchy

Index

Constructors

constructor

Methods

bondedValidators

delegation

delegations

  • Queries all delegations, filtering by delegator, validator, or both.

    At least one of the parameters must be defined.

    Parameters

    • Optional delegator: AccAddress

      delegator's account address

    • Optional validator: ValAddress

      validator's operator address

    Returns Promise<Delegation[]>

parameters

pool

redelegations

  • Queries all redelegations, filterable by delegator, source validator, and target validator.

    Parameters

    • Optional delegator: AccAddress

      delegator's account address

    • Optional validatorSrc: ValAddress

      source validator's operator address (from).

    • Optional validatorDst: ValAddress

      destination validator's operator address (to).

    Returns Promise<Redelegation[]>

unbondingDelegation

unbondingDelegations

validator

validators