Documentation ¶
Index ¶
- Constants
- func FetchTokenPrice(apiURL, coinID string) (sdkmath.LegacyDec, error)
- func GetLatestHeight(apiURL string) (string, error)
- func GetValidatorDelegations(stakingClient stakingtypes.QueryClient, validatorAddr string, ...) (*stakingtypes.QueryValidatorDelegationsResponse, error)
- func GetValidators(stakingClient stakingtypes.QueryClient, blockHeight string) ([]stakingtypes.Validator, error)
Constants ¶
View Source
const (
LimitPerPage = 100000000
)
Variables ¶
This section is empty.
Functions ¶
func GetLatestHeight ¶
func GetValidatorDelegations ¶
func GetValidatorDelegations(stakingClient stakingtypes.QueryClient, validatorAddr string, blockHeight string) ( *stakingtypes.QueryValidatorDelegationsResponse, error, )
func GetValidators ¶
func GetValidators(stakingClient stakingtypes.QueryClient, blockHeight string) ([]stakingtypes.Validator, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.