Documentation
¶
Index ¶
- type Batch
- type Client
- func (h *Client) BroadcastTransaction(tx *std.Tx) error
- func (h *Client) CreateBatch() common.Batch
- func (h *Client) ExecuteABCIQuery(path string, data []byte) (*core_types.ResultABCIQuery, error)
- func (h *Client) GetAccount(address string) (*gnoland.GnoAccount, error)
- func (h *Client) GetBlock(height *int64) (*core_types.ResultBlock, error)
- func (h *Client) GetBlockGasLimit(height int64) (int64, error)
- func (h *Client) GetBlockGasUsed(height int64) (int64, error)
- func (h *Client) GetBlockResults(height *int64) (*core_types.ResultBlockResults, error)
- func (h *Client) GetConsensusParams(height *int64) (*core_types.ResultConsensusParams, error)
- func (h *Client) GetLatestBlockHeight() (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Batch ¶
type Batch struct {
// contains filtered or unexported fields
}
func (*Batch) AddTxBroadcast ¶
type Client ¶ added in v1.3.0
type Client struct {
// contains filtered or unexported fields
}
func NewHTTPClient ¶
NewHTTPClient creates a new instance of the HTTP client
func NewWSClient ¶ added in v1.3.0
NewWSClient creates a new instance of the WS client
func (*Client) BroadcastTransaction ¶ added in v1.3.0
func (*Client) CreateBatch ¶ added in v1.3.0
func (*Client) ExecuteABCIQuery ¶ added in v1.3.0
func (h *Client) ExecuteABCIQuery(path string, data []byte) (*core_types.ResultABCIQuery, error)
func (*Client) GetAccount ¶ added in v1.3.0
func (h *Client) GetAccount(address string) (*gnoland.GnoAccount, error)
func (*Client) GetBlock ¶ added in v1.3.0
func (h *Client) GetBlock(height *int64) (*core_types.ResultBlock, error)
func (*Client) GetBlockGasLimit ¶ added in v1.3.0
func (*Client) GetBlockGasUsed ¶ added in v1.3.0
func (*Client) GetBlockResults ¶ added in v1.3.0
func (h *Client) GetBlockResults(height *int64) (*core_types.ResultBlockResults, error)
func (*Client) GetConsensusParams ¶ added in v1.3.0
func (h *Client) GetConsensusParams(height *int64) (*core_types.ResultConsensusParams, error)
func (*Client) GetLatestBlockHeight ¶ added in v1.3.0
Click to show internal directories.
Click to hide internal directories.