Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CosmosProvider ¶
type CosmosProvider struct {
// contains filtered or unexported fields
}
func NewProvider ¶
func NewProvider(remote string) (*CosmosProvider, error)
NewProvider validates the CosmosProviderConfig, instantiates a ChainClient and then instantiates a CosmosProvider
func (*CosmosProvider) Status ¶
func (cc *CosmosProvider) Status(ctx context.Context) (*coretypes.ResultStatus, error)
Status queries the status of this node, can be used to check if it is catching up or a validator
func (*CosmosProvider) Validators ¶
func (cc *CosmosProvider) Validators(ctx context.Context, height int64) (*coretypes.ResultValidators, error)
Click to show internal directories.
Click to hide internal directories.