Hierarchy

  • default
    • ChainGrpcDistributionApi

Methods

  • Get total staking rewards for an account address.

    Returns

    accounts rewards.

    Parameters

    • routerAddress: string

      account address.

    Returns Promise<ValidatorRewards[]>

  • Get delegatore rewards for staking in a particular validators pool.

    Returns

    delegator rewards.

    Parameters

    • __namedParameters: {
          delegatorAddress: string;
          validatorAddress: string;
      }
      • delegatorAddress: string
      • validatorAddress: string

    Returns Promise<Coin[]>

  • Get delegatore rewards for staking in a particular validators pool.

    Returns

    delegator rewards.

    Parameters

    • __namedParameters: {
          delegatorAddress: string;
          validatorAddress: string;
      }
      • delegatorAddress: string
      • validatorAddress: string

    Returns Promise<Coin[]>

  • Get total staking rewards for an account address.

    Returns

    accounts rewards.

    Parameters

    • routerAddress: string

      account address.

    Returns Promise<ValidatorRewards[]>

Generated using TypeDoc