Documentation ¶
Index ¶
- type Node
- func (cp *Node) AccountBalance(address string) (sdk.Coins, error)
- func (cp *Node) Block(height int64) (*tmctypes.ResultBlock, error)
- func (cp *Node) BlockResults(height int64) (*tmctypes.ResultBlockResults, error)
- func (cp *Node) ConsensusState() (*constypes.RoundStateSimple, error)
- func (cp *Node) Genesis() (*tmctypes.ResultGenesis, error)
- func (cp *Node) IBCTransferParams() (types.IBCTransfer, error)
- func (cp *Node) Inflation() (string, error)
- func (cp *Node) LatestHeight() (int64, error)
- func (cp *Node) StakingPool() (stakingtypes.Pool, error)
- func (cp *Node) Stop()
- func (cp *Node) Supply() (sdk.Coins, error)
- func (cp *Node) Validators(height int64) (*tmctypes.ResultValidators, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct { RPCNode string // RPC node RESTNode string // REST node // contains filtered or unexported fields }
Node implements a wrapper around both a Tendermint RPCConfig client and a chain SDK REST client that allows for essential data queries.
func (*Node) AccountBalance ¶
AccountBalance implements node.Node
func (*Node) Block ¶
func (cp *Node) Block(height int64) (*tmctypes.ResultBlock, error)
Block implements node.Node
func (*Node) BlockResults ¶
func (cp *Node) BlockResults(height int64) (*tmctypes.ResultBlockResults, error)
BlockResults implements node.Node
func (*Node) ConsensusState ¶
func (cp *Node) ConsensusState() (*constypes.RoundStateSimple, error)
ConsensusState implements node.Node
func (*Node) Genesis ¶
func (cp *Node) Genesis() (*tmctypes.ResultGenesis, error)
Genesis implements node.Node
func (*Node) IBCTransferParams ¶
func (cp *Node) IBCTransferParams() (types.IBCTransfer, error)
IBCTransferParams implements node.Node
func (*Node) LatestHeight ¶
LatestHeight implements node.Node
func (*Node) StakingPool ¶
func (cp *Node) StakingPool() (stakingtypes.Pool, error)
StkingPool implements node.Node
func (*Node) Validators ¶
func (cp *Node) Validators(height int64) (*tmctypes.ResultValidators, error)
Validators implements node.Node
Click to show internal directories.
Click to hide internal directories.