Readonly staking
staking: { delegation: any; delegatorDelegations: any; delegatorUnbondingDelegations: any; delegatorValidator: any; delegatorValidators: any; historicalInfo: any; params: any; pool: any; redelegations: any; unbondingDelegation: any; validator: any; validatorDelegations: any; validatorUnbondingDelegations: any; validators: any }
Type declaration
delegation:function
- delegation(delegatorAddress: string, validatorAddress: string): Promise<QueryDelegationResponse>
Parameters
delegatorAddress: string
validatorAddress: string
Returns Promise<QueryDelegationResponse>
delegatorDelegations:function
- delegatorDelegations(delegatorAddress: string, paginationKey?: Uint8Array): Promise<QueryDelegatorDelegationsResponse>
Parameters
delegatorAddress: string
Optional paginationKey: Uint8Array
Returns Promise<QueryDelegatorDelegationsResponse>
delegatorUnbondingDelegations:function
- delegatorUnbondingDelegations(delegatorAddress: string, paginationKey?: Uint8Array): Promise<QueryDelegatorUnbondingDelegationsResponse>
Parameters
delegatorAddress: string
Optional paginationKey: Uint8Array
Returns Promise<QueryDelegatorUnbondingDelegationsResponse>
delegatorValidator:function
- delegatorValidator(delegatorAddress: string, validatorAddress: string): Promise<QueryDelegatorValidatorResponse>
Parameters
delegatorAddress: string
validatorAddress: string
Returns Promise<QueryDelegatorValidatorResponse>
delegatorValidators:function
- delegatorValidators(delegatorAddress: string, paginationKey?: Uint8Array): Promise<QueryDelegatorValidatorsResponse>
Parameters
delegatorAddress: string
Optional paginationKey: Uint8Array
Returns Promise<QueryDelegatorValidatorsResponse>
historicalInfo:function
- historicalInfo(height: number): Promise<QueryHistoricalInfoResponse>
Parameters
Returns Promise<QueryHistoricalInfoResponse>
params:function
- params(): Promise<QueryParamsResponse>
Returns Promise<QueryParamsResponse>
pool:function
- pool(): Promise<QueryPoolResponse>
Returns Promise<QueryPoolResponse>
redelegations:function
- redelegations(delegatorAddress: string, sourceValidatorAddress: string, destinationValidatorAddress: string, paginationKey?: Uint8Array): Promise<QueryRedelegationsResponse>
Parameters
delegatorAddress: string
sourceValidatorAddress: string
destinationValidatorAddress: string
Optional paginationKey: Uint8Array
Returns Promise<QueryRedelegationsResponse>
unbondingDelegation:function
- unbondingDelegation(delegatorAddress: string, validatorAddress: string): Promise<QueryUnbondingDelegationResponse>
Parameters
delegatorAddress: string
validatorAddress: string
Returns Promise<QueryUnbondingDelegationResponse>
validator:function
- validator(validatorAddress: string): Promise<QueryValidatorResponse>
Parameters
Returns Promise<QueryValidatorResponse>
validatorDelegations:function
- validatorDelegations(validatorAddress: string, paginationKey?: Uint8Array): Promise<QueryValidatorDelegationsResponse>
Parameters
validatorAddress: string
Optional paginationKey: Uint8Array
Returns Promise<QueryValidatorDelegationsResponse>
validatorUnbondingDelegations:function
- validatorUnbondingDelegations(validatorAddress: string, paginationKey?: Uint8Array): Promise<QueryValidatorUnbondingDelegationsResponse>
Parameters
validatorAddress: string
Optional paginationKey: Uint8Array
Returns Promise<QueryValidatorUnbondingDelegationsResponse>
validators:function
- validators(status: BondStatusString, paginationKey?: Uint8Array): Promise<QueryValidatorsResponse>
Parameters
status: BondStatusString
Optional paginationKey: Uint8Array
Returns Promise<QueryValidatorsResponse>