Documentation ¶
Index ¶
- type Batch
- type HTTPClient
- func (h *HTTPClient) BroadcastTransaction(tx *std.Tx) error
- func (h *HTTPClient) CreateBatch() common.Batch
- func (h *HTTPClient) ExecuteABCIQuery(path string, data []byte) (*core_types.ResultABCIQuery, error)
- func (h *HTTPClient) GetAccount(address string) (*gnoland.GnoAccount, error)
- func (h *HTTPClient) GetBlock(height *int64) (*core_types.ResultBlock, error)
- func (h *HTTPClient) GetBlockGasLimit(height int64) (int64, error)
- func (h *HTTPClient) GetBlockGasUsed(height int64) (int64, error)
- func (h *HTTPClient) GetBlockResults(height *int64) (*core_types.ResultBlockResults, error)
- func (h *HTTPClient) GetConsensusParams(height *int64) (*core_types.ResultConsensusParams, error)
- func (h *HTTPClient) 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 HTTPClient ¶
type HTTPClient struct {
// contains filtered or unexported fields
}
func NewHTTPClient ¶
func NewHTTPClient(url string) (*HTTPClient, error)
NewHTTPClient creates a new instance of the HTTP client
func (*HTTPClient) BroadcastTransaction ¶
func (h *HTTPClient) BroadcastTransaction(tx *std.Tx) error
func (*HTTPClient) CreateBatch ¶
func (h *HTTPClient) CreateBatch() common.Batch
func (*HTTPClient) ExecuteABCIQuery ¶
func (h *HTTPClient) ExecuteABCIQuery(path string, data []byte) (*core_types.ResultABCIQuery, error)
func (*HTTPClient) GetAccount ¶
func (h *HTTPClient) GetAccount(address string) (*gnoland.GnoAccount, error)
func (*HTTPClient) GetBlock ¶
func (h *HTTPClient) GetBlock(height *int64) (*core_types.ResultBlock, error)
func (*HTTPClient) GetBlockGasLimit ¶
func (h *HTTPClient) GetBlockGasLimit(height int64) (int64, error)
func (*HTTPClient) GetBlockGasUsed ¶
func (h *HTTPClient) GetBlockGasUsed(height int64) (int64, error)
func (*HTTPClient) GetBlockResults ¶
func (h *HTTPClient) GetBlockResults(height *int64) (*core_types.ResultBlockResults, error)
func (*HTTPClient) GetConsensusParams ¶
func (h *HTTPClient) GetConsensusParams(height *int64) (*core_types.ResultConsensusParams, error)
func (*HTTPClient) GetLatestBlockHeight ¶
func (h *HTTPClient) GetLatestBlockHeight() (int64, error)
Click to show internal directories.
Click to hide internal directories.