Documentation ¶
Index ¶
- type Client
- func (c *Client) Close()
- func (c *Client) GetActivity(epochID uint64) (activity types.Activity, _ error)
- func (c *Client) GetCurrentBlockHeight() (uint64, error)
- func (c *Client) GetCurrentEpochID() (epochID uint64, _ error)
- func (c *Client) GetCurrentSlotID() (slotID uint64, _ error)
- func (c *Client) GetEpochLeaders(epochID uint64) (epochLeaders []string, _ error)
- func (c *Client) GetIncentives(epochID uint64) (incentives []types.ValidatorIncentive, _ error)
- func (c *Client) GetRandomProposers(epochID uint64) (randomProposers []string, _ error)
- func (c *Client) GetValidators(blockHeight uint64) (validators []types.Validator, _ error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetActivity ¶
func (*Client) GetCurrentBlockHeight ¶
func (*Client) GetCurrentEpochID ¶
func (*Client) GetCurrentSlotID ¶ added in v0.6.0
func (*Client) GetEpochLeaders ¶
func (*Client) GetIncentives ¶
func (c *Client) GetIncentives(epochID uint64) (incentives []types.ValidatorIncentive, _ error)
func (*Client) GetRandomProposers ¶
Click to show internal directories.
Click to hide internal directories.