Versions in this module Expand all Collapse all v0 v0.1.1 May 14, 2023 Changes in this version + type BatchHTTP struct + func (b *BatchHTTP) Clear() int + func (b *BatchHTTP) Count() int + func (b *BatchHTTP) Send() ([]interface{}, error) + func (c BatchHTTP) ABCIInfo() (*ctypes.ResultABCIInfo, error) + func (c BatchHTTP) ABCIQuery(path string, data bytes.HexBytes) (*ctypes.ResultABCIQuery, error) + func (c BatchHTTP) ABCIQueryWithOptions(path string, data bytes.HexBytes, opts rpcclient.ABCIQueryOptions) (*ctypes.ResultABCIQuery, error) + func (c BatchHTTP) Block(height *int64) (*ctypes.ResultBlock, error) + func (c BatchHTTP) BlockByHash(hash []byte) (*ctypes.ResultBlock, error) + func (c BatchHTTP) BlockInfo(height *int64) (*types.BlockMeta, error) + func (c BatchHTTP) BlockResults(height *int64) (*ctypes.ResultBlockResults, error) + func (c BatchHTTP) BlockchainInfo(minHeight, maxHeight int64) (*ctypes.ResultBlockchainInfo, error) + func (c BatchHTTP) BroadcastEvidence(ev types.Evidence) (*ctypes.ResultBroadcastEvidence, error) + func (c BatchHTTP) BroadcastTxAsync(tx types.Tx) (*ctypes.ResultBroadcastTx, error) + func (c BatchHTTP) BroadcastTxCommit(tx types.Tx) (*ctypes.ResultBroadcastTxCommit, error) + func (c BatchHTTP) BroadcastTxSync(tx types.Tx) (*ctypes.ResultBroadcastTx, error) + func (c BatchHTTP) Commit(height *int64) (*ctypes.ResultCommit, error) + func (c BatchHTTP) ConsensusParams(height *int64) (*ctypes.ResultConsensusParams, error) + func (c BatchHTTP) ConsensusState() (*ctypes.ResultConsensusState, error) + func (c BatchHTTP) DumpConsensusState() (*ctypes.ResultDumpConsensusState, error) + func (c BatchHTTP) Genesis() (*ctypes.ResultGenesis, error) + func (c BatchHTTP) GetAddressList() (*ctypes.ResultUnconfirmedAddresses, error) + func (c BatchHTTP) GetPendingNonce(address string) (*ctypes.ResultPendingNonce, bool) + func (c BatchHTTP) Health() (*ctypes.ResultHealth, error) + func (c BatchHTTP) LatestBlockNumber() (int64, error) + func (c BatchHTTP) NetInfo() (*ctypes.ResultNetInfo, error) + func (c BatchHTTP) NumUnconfirmedTxs() (*ctypes.ResultUnconfirmedTxs, error) + func (c BatchHTTP) Status() (*ctypes.ResultStatus, error) + func (c BatchHTTP) Tx(hash []byte, prove bool) (*ctypes.ResultTx, error) + func (c BatchHTTP) TxSearch(query string, prove bool, page, perPage int, orderBy string) (*ctypes.ResultTxSearch, error) + func (c BatchHTTP) UnconfirmedTxs(limit int) (*ctypes.ResultUnconfirmedTxs, error) + func (c BatchHTTP) UserNumUnconfirmedTxs(address string) (*ctypes.ResultUserUnconfirmedTxs, error) + func (c BatchHTTP) UserUnconfirmedTxs(address string, limit int) (*ctypes.ResultUserUnconfirmedTxs, error) + func (c BatchHTTP) Validators(height *int64, page, perPage int) (*ctypes.ResultValidators, error) + type HTTP struct + func New(remote, wsEndpoint string) (*HTTP, error) + func NewWithClient(remote, wsEndpoint string, client *http.Client) (*HTTP, error) + func NewWithTimeout(remote, wsEndpoint string, timeout uint) (*HTTP, error) + func (c *HTTP) GetUnconfirmedTxByHash(hash [sha256.Size]byte) (types.Tx, error) + func (c *HTTP) NewBatch() *BatchHTTP + func (c *HTTP) Remote() string + func (c *HTTP) SetLogger(l log.Logger) + func (c HTTP) ABCIInfo() (*ctypes.ResultABCIInfo, error) + func (c HTTP) ABCIQuery(path string, data bytes.HexBytes) (*ctypes.ResultABCIQuery, error) + func (c HTTP) ABCIQueryWithOptions(path string, data bytes.HexBytes, opts rpcclient.ABCIQueryOptions) (*ctypes.ResultABCIQuery, error) + func (c HTTP) Block(height *int64) (*ctypes.ResultBlock, error) + func (c HTTP) BlockByHash(hash []byte) (*ctypes.ResultBlock, error) + func (c HTTP) BlockInfo(height *int64) (*types.BlockMeta, error) + func (c HTTP) BlockResults(height *int64) (*ctypes.ResultBlockResults, error) + func (c HTTP) BlockchainInfo(minHeight, maxHeight int64) (*ctypes.ResultBlockchainInfo, error) + func (c HTTP) BroadcastEvidence(ev types.Evidence) (*ctypes.ResultBroadcastEvidence, error) + func (c HTTP) BroadcastTxAsync(tx types.Tx) (*ctypes.ResultBroadcastTx, error) + func (c HTTP) BroadcastTxCommit(tx types.Tx) (*ctypes.ResultBroadcastTxCommit, error) + func (c HTTP) BroadcastTxSync(tx types.Tx) (*ctypes.ResultBroadcastTx, error) + func (c HTTP) Commit(height *int64) (*ctypes.ResultCommit, error) + func (c HTTP) ConsensusParams(height *int64) (*ctypes.ResultConsensusParams, error) + func (c HTTP) ConsensusState() (*ctypes.ResultConsensusState, error) + func (c HTTP) DumpConsensusState() (*ctypes.ResultDumpConsensusState, error) + func (c HTTP) Genesis() (*ctypes.ResultGenesis, error) + func (c HTTP) GetAddressList() (*ctypes.ResultUnconfirmedAddresses, error) + func (c HTTP) GetPendingNonce(address string) (*ctypes.ResultPendingNonce, bool) + func (c HTTP) Health() (*ctypes.ResultHealth, error) + func (c HTTP) LatestBlockNumber() (int64, error) + func (c HTTP) NetInfo() (*ctypes.ResultNetInfo, error) + func (c HTTP) NumUnconfirmedTxs() (*ctypes.ResultUnconfirmedTxs, error) + func (c HTTP) Status() (*ctypes.ResultStatus, error) + func (c HTTP) Tx(hash []byte, prove bool) (*ctypes.ResultTx, error) + func (c HTTP) TxSearch(query string, prove bool, page, perPage int, orderBy string) (*ctypes.ResultTxSearch, error) + func (c HTTP) UnconfirmedTxs(limit int) (*ctypes.ResultUnconfirmedTxs, error) + func (c HTTP) UserNumUnconfirmedTxs(address string) (*ctypes.ResultUserUnconfirmedTxs, error) + func (c HTTP) UserUnconfirmedTxs(address string, limit int) (*ctypes.ResultUserUnconfirmedTxs, error) + func (c HTTP) Validators(height *int64, page, perPage int) (*ctypes.ResultValidators, error) + type WSEvents struct + func (w *WSEvents) OnStart() error + func (w *WSEvents) OnStop() + func (w *WSEvents) Subscribe(ctx context.Context, subscriber, query string, outCapacity ...int) (out <-chan ctypes.ResultEvent, err error) + func (w *WSEvents) Unsubscribe(ctx context.Context, subscriber, query string) error + func (w *WSEvents) UnsubscribeAll(ctx context.Context, subscriber string) error