interface StakingExtension {
    staking: {
        delegation: ((delegatorAddress, validatorAddress) => Promise<QueryDelegationResponse>);
        delegatorDelegations: ((delegatorAddress, paginationKey?) => Promise<QueryDelegatorDelegationsResponse>);
        delegatorUnbondingDelegations: ((delegatorAddress, paginationKey?) => Promise<QueryDelegatorUnbondingDelegationsResponse>);
        delegatorValidator: ((delegatorAddress, validatorAddress) => Promise<QueryDelegatorValidatorResponse>);
        delegatorValidators: ((delegatorAddress, paginationKey?) => Promise<QueryDelegatorValidatorsResponse>);
        historicalInfo: ((height) => Promise<QueryHistoricalInfoResponse>);
        params: (() => Promise<QueryParamsResponse>);
        pool: (() => Promise<QueryPoolResponse>);
        redelegations: ((delegatorAddress, sourceValidatorAddress, destinationValidatorAddress, paginationKey?) => Promise<QueryRedelegationsResponse>);
        unbondingDelegation: ((delegatorAddress, validatorAddress) => Promise<QueryUnbondingDelegationResponse>);
        validator: ((validatorAddress) => Promise<QueryValidatorResponse>);
        validatorDelegations: ((validatorAddress, paginationKey?) => Promise<QueryValidatorDelegationsResponse>);
        validatorUnbondingDelegations: ((validatorAddress, paginationKey?) => Promise<QueryValidatorUnbondingDelegationsResponse>);
        validators: ((status, paginationKey?) => Promise<QueryValidatorsResponse>);
    };
}

Properties

Properties

staking: {
    delegation: ((delegatorAddress, validatorAddress) => Promise<QueryDelegationResponse>);
    delegatorDelegations: ((delegatorAddress, paginationKey?) => Promise<QueryDelegatorDelegationsResponse>);
    delegatorUnbondingDelegations: ((delegatorAddress, paginationKey?) => Promise<QueryDelegatorUnbondingDelegationsResponse>);
    delegatorValidator: ((delegatorAddress, validatorAddress) => Promise<QueryDelegatorValidatorResponse>);
    delegatorValidators: ((delegatorAddress, paginationKey?) => Promise<QueryDelegatorValidatorsResponse>);
    historicalInfo: ((height) => Promise<QueryHistoricalInfoResponse>);
    params: (() => Promise<QueryParamsResponse>);
    pool: (() => Promise<QueryPoolResponse>);
    redelegations: ((delegatorAddress, sourceValidatorAddress, destinationValidatorAddress, paginationKey?) => Promise<QueryRedelegationsResponse>);
    unbondingDelegation: ((delegatorAddress, validatorAddress) => Promise<QueryUnbondingDelegationResponse>);
    validator: ((validatorAddress) => Promise<QueryValidatorResponse>);
    validatorDelegations: ((validatorAddress, paginationKey?) => Promise<QueryValidatorDelegationsResponse>);
    validatorUnbondingDelegations: ((validatorAddress, paginationKey?) => Promise<QueryValidatorUnbondingDelegationsResponse>);
    validators: ((status, paginationKey?) => Promise<QueryValidatorsResponse>);
}

Type declaration

  • delegation: ((delegatorAddress, validatorAddress) => Promise<QueryDelegationResponse>)
      • (delegatorAddress, validatorAddress): Promise<QueryDelegationResponse>
      • Parameters

        • delegatorAddress: string
        • validatorAddress: string

        Returns Promise<QueryDelegationResponse>

  • delegatorDelegations: ((delegatorAddress, paginationKey?) => Promise<QueryDelegatorDelegationsResponse>)
      • (delegatorAddress, paginationKey?): Promise<QueryDelegatorDelegationsResponse>
      • Parameters

        • delegatorAddress: string
        • Optional paginationKey: Uint8Array

        Returns Promise<QueryDelegatorDelegationsResponse>

  • delegatorUnbondingDelegations: ((delegatorAddress, paginationKey?) => Promise<QueryDelegatorUnbondingDelegationsResponse>)
      • (delegatorAddress, paginationKey?): Promise<QueryDelegatorUnbondingDelegationsResponse>
      • Parameters

        • delegatorAddress: string
        • Optional paginationKey: Uint8Array

        Returns Promise<QueryDelegatorUnbondingDelegationsResponse>

  • delegatorValidator: ((delegatorAddress, validatorAddress) => Promise<QueryDelegatorValidatorResponse>)
      • (delegatorAddress, validatorAddress): Promise<QueryDelegatorValidatorResponse>
      • Parameters

        • delegatorAddress: string
        • validatorAddress: string

        Returns Promise<QueryDelegatorValidatorResponse>

  • delegatorValidators: ((delegatorAddress, paginationKey?) => Promise<QueryDelegatorValidatorsResponse>)
      • (delegatorAddress, paginationKey?): Promise<QueryDelegatorValidatorsResponse>
      • Parameters

        • delegatorAddress: string
        • Optional paginationKey: Uint8Array

        Returns Promise<QueryDelegatorValidatorsResponse>

  • historicalInfo: ((height) => Promise<QueryHistoricalInfoResponse>)
      • (height): Promise<QueryHistoricalInfoResponse>
      • Parameters

        • height: number

        Returns Promise<QueryHistoricalInfoResponse>

  • params: (() => Promise<QueryParamsResponse>)
      • (): Promise<QueryParamsResponse>
      • Returns Promise<QueryParamsResponse>

  • pool: (() => Promise<QueryPoolResponse>)
      • (): Promise<QueryPoolResponse>
      • Returns Promise<QueryPoolResponse>

  • redelegations: ((delegatorAddress, sourceValidatorAddress, destinationValidatorAddress, paginationKey?) => Promise<QueryRedelegationsResponse>)
      • (delegatorAddress, sourceValidatorAddress, destinationValidatorAddress, paginationKey?): Promise<QueryRedelegationsResponse>
      • Parameters

        • delegatorAddress: string
        • sourceValidatorAddress: string
        • destinationValidatorAddress: string
        • Optional paginationKey: Uint8Array

        Returns Promise<QueryRedelegationsResponse>

  • unbondingDelegation: ((delegatorAddress, validatorAddress) => Promise<QueryUnbondingDelegationResponse>)
      • (delegatorAddress, validatorAddress): Promise<QueryUnbondingDelegationResponse>
      • Parameters

        • delegatorAddress: string
        • validatorAddress: string

        Returns Promise<QueryUnbondingDelegationResponse>

  • validator: ((validatorAddress) => Promise<QueryValidatorResponse>)
      • (validatorAddress): Promise<QueryValidatorResponse>
      • Parameters

        • validatorAddress: string

        Returns Promise<QueryValidatorResponse>

  • validatorDelegations: ((validatorAddress, paginationKey?) => Promise<QueryValidatorDelegationsResponse>)
      • (validatorAddress, paginationKey?): Promise<QueryValidatorDelegationsResponse>
      • Parameters

        • validatorAddress: string
        • Optional paginationKey: Uint8Array

        Returns Promise<QueryValidatorDelegationsResponse>

  • validatorUnbondingDelegations: ((validatorAddress, paginationKey?) => Promise<QueryValidatorUnbondingDelegationsResponse>)
      • (validatorAddress, paginationKey?): Promise<QueryValidatorUnbondingDelegationsResponse>
      • Parameters

        • validatorAddress: string
        • Optional paginationKey: Uint8Array

        Returns Promise<QueryValidatorUnbondingDelegationsResponse>

  • validators: ((status, paginationKey?) => Promise<QueryValidatorsResponse>)
      • (status, paginationKey?): Promise<QueryValidatorsResponse>
      • Parameters

        • status: BondStatusString
        • Optional paginationKey: Uint8Array

        Returns Promise<QueryValidatorsResponse>

Generated using TypeDoc