Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DistributionAPI

Hierarchy

  • BaseAPI
    • DistributionAPI

Index

Constructors

Properties

Methods

  • communityPool(chainID: string, params?: APIParams): Promise<Coins>
  • getReqFromAddress(address: string): APIRequester
  • getReqFromChainID(chainID: string): APIRequester
  • rewards(delegator: string, params?: APIParams): Promise<Rewards>
  • validatorCommission(validator: string, params?: APIParams): Promise<Coins>
  • validatorSlashingEvents(validator: string, params?: APIParams): Promise<[any[], Pagination]>
  • Gets a validator's slashing events.

    Parameters

    • validator: string

      validator's operator address

    • params: APIParams = {}

    Returns Promise<[any[], Pagination]>

  • withdrawAddress(delegator: string, params?: APIParams): Promise<string>
  • Gets the withdraw address of a delegator, the address to which rewards are withdrawn.

    Parameters

    • delegator: string
    • params: APIParams = {}

    Returns Promise<string>