Versions in this module Expand all Collapse all v0 v0.0.2 Nov 26, 2021 v0.0.1 Nov 26, 2021 Changes in this version + type BatchHTTP struct + func (b *BatchHTTP) Clear() int + func (b *BatchHTTP) Count() int + func (b *BatchHTTP) Send(ctx context.Context) ([]interface{}, error) + func (c BatchHTTP) ABCIInfo(ctx context.Context) (*ctypes.ResultABCIInfo, error) + func (c BatchHTTP) ABCIQuery(ctx context.Context, path string, data bytes.HexBytes) (*ctypes.ResultABCIQuery, error) + func (c BatchHTTP) ABCIQueryWithOptions(ctx context.Context, path string, data bytes.HexBytes, ...) (*ctypes.ResultABCIQuery, error) + func (c BatchHTTP) Block(ctx context.Context, height *int64) (*ctypes.ResultBlock, error) + func (c BatchHTTP) BlockByHash(ctx context.Context, hash []byte) (*ctypes.ResultBlock, error) + func (c BatchHTTP) BlockResults(ctx context.Context, height *int64) (*ctypes.ResultBlockResults, error) + func (c BatchHTTP) BlockSearch(ctx context.Context, query string, page, perPage *int, orderBy string) (*ctypes.ResultBlockSearch, error) + func (c BatchHTTP) BlockchainInfo(ctx context.Context, minHeight, maxHeight int64) (*ctypes.ResultBlockchainInfo, error) + func (c BatchHTTP) BroadcastEvidence(ctx context.Context, ev types.Evidence) (*ctypes.ResultBroadcastEvidence, error) + func (c BatchHTTP) BroadcastTxAsync(ctx context.Context, tx types.Tx) (*ctypes.ResultBroadcastTx, error) + func (c BatchHTTP) BroadcastTxCommit(ctx context.Context, tx types.Tx) (*ctypes.ResultBroadcastTxCommit, error) + func (c BatchHTTP) BroadcastTxSync(ctx context.Context, tx types.Tx) (*ctypes.ResultBroadcastTx, error) + func (c BatchHTTP) CheckTx(ctx context.Context, tx types.Tx) (*ctypes.ResultCheckTx, error) + func (c BatchHTTP) Commit(ctx context.Context, height *int64) (*ctypes.ResultCommit, error) + func (c BatchHTTP) ConsensusParams(ctx context.Context, height *int64) (*ctypes.ResultConsensusParams, error) + func (c BatchHTTP) ConsensusState(ctx context.Context) (*ctypes.ResultConsensusState, error) + func (c BatchHTTP) DumpConsensusState(ctx context.Context) (*ctypes.ResultDumpConsensusState, error) + func (c BatchHTTP) Genesis(ctx context.Context) (*ctypes.ResultGenesis, error) + func (c BatchHTTP) GenesisChunked(ctx context.Context, id uint) (*ctypes.ResultGenesisChunk, error) + func (c BatchHTTP) Health(ctx context.Context) (*ctypes.ResultHealth, error) + func (c BatchHTTP) NetInfo(ctx context.Context) (*ctypes.ResultNetInfo, error) + func (c BatchHTTP) NumUnconfirmedTxs(ctx context.Context) (*ctypes.ResultUnconfirmedTxs, error) + func (c BatchHTTP) Status(ctx context.Context) (*ctypes.ResultStatus, error) + func (c BatchHTTP) Tx(ctx context.Context, hash []byte, prove bool) (*ctypes.ResultTx, error) + func (c BatchHTTP) TxSearch(ctx context.Context, query string, prove bool, page, perPage *int, ...) (*ctypes.ResultTxSearch, error) + func (c BatchHTTP) UnconfirmedTxs(ctx context.Context, limit *int) (*ctypes.ResultUnconfirmedTxs, error) + func (c BatchHTTP) Validators(ctx context.Context, 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) NewBatch() *BatchHTTP + func (c *HTTP) Remote() string + func (c *HTTP) SetLogger(l log.Logger) + func (c HTTP) ABCIInfo(ctx context.Context) (*ctypes.ResultABCIInfo, error) + func (c HTTP) ABCIQuery(ctx context.Context, path string, data bytes.HexBytes) (*ctypes.ResultABCIQuery, error) + func (c HTTP) ABCIQueryWithOptions(ctx context.Context, path string, data bytes.HexBytes, ...) (*ctypes.ResultABCIQuery, error) + func (c HTTP) Block(ctx context.Context, height *int64) (*ctypes.ResultBlock, error) + func (c HTTP) BlockByHash(ctx context.Context, hash []byte) (*ctypes.ResultBlock, error) + func (c HTTP) BlockResults(ctx context.Context, height *int64) (*ctypes.ResultBlockResults, error) + func (c HTTP) BlockSearch(ctx context.Context, query string, page, perPage *int, orderBy string) (*ctypes.ResultBlockSearch, error) + func (c HTTP) BlockchainInfo(ctx context.Context, minHeight, maxHeight int64) (*ctypes.ResultBlockchainInfo, error) + func (c HTTP) BroadcastEvidence(ctx context.Context, ev types.Evidence) (*ctypes.ResultBroadcastEvidence, error) + func (c HTTP) BroadcastTxAsync(ctx context.Context, tx types.Tx) (*ctypes.ResultBroadcastTx, error) + func (c HTTP) BroadcastTxCommit(ctx context.Context, tx types.Tx) (*ctypes.ResultBroadcastTxCommit, error) + func (c HTTP) BroadcastTxSync(ctx context.Context, tx types.Tx) (*ctypes.ResultBroadcastTx, error) + func (c HTTP) CheckTx(ctx context.Context, tx types.Tx) (*ctypes.ResultCheckTx, error) + func (c HTTP) Commit(ctx context.Context, height *int64) (*ctypes.ResultCommit, error) + func (c HTTP) ConsensusParams(ctx context.Context, height *int64) (*ctypes.ResultConsensusParams, error) + func (c HTTP) ConsensusState(ctx context.Context) (*ctypes.ResultConsensusState, error) + func (c HTTP) DumpConsensusState(ctx context.Context) (*ctypes.ResultDumpConsensusState, error) + func (c HTTP) Genesis(ctx context.Context) (*ctypes.ResultGenesis, error) + func (c HTTP) GenesisChunked(ctx context.Context, id uint) (*ctypes.ResultGenesisChunk, error) + func (c HTTP) Health(ctx context.Context) (*ctypes.ResultHealth, error) + func (c HTTP) NetInfo(ctx context.Context) (*ctypes.ResultNetInfo, error) + func (c HTTP) NumUnconfirmedTxs(ctx context.Context) (*ctypes.ResultUnconfirmedTxs, error) + func (c HTTP) Status(ctx context.Context) (*ctypes.ResultStatus, error) + func (c HTTP) Tx(ctx context.Context, hash []byte, prove bool) (*ctypes.ResultTx, error) + func (c HTTP) TxSearch(ctx context.Context, query string, prove bool, page, perPage *int, ...) (*ctypes.ResultTxSearch, error) + func (c HTTP) UnconfirmedTxs(ctx context.Context, limit *int) (*ctypes.ResultUnconfirmedTxs, error) + func (c HTTP) Validators(ctx context.Context, 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