Documentation
¶
Index ¶
- type RPCClient
- func (r RPCClient) ABCIInfo(ctx context.Context) (*coretypes.ResultABCIInfo, error)
- func (r RPCClient) ABCIQuery(ctx context.Context, path string, data bytes.HexBytes) (*coretypes.ResultABCIQuery, error)
- func (r RPCClient) ABCIQueryWithOptions(ctx context.Context, path string, data bytes.HexBytes, ...) (*coretypes.ResultABCIQuery, error)
- func (r RPCClient) Block(ctx context.Context, height *int64) (*coretypes.ResultBlock, error)
- func (r RPCClient) BlockByHash(ctx context.Context, hash []byte) (*coretypes.ResultBlock, error)
- func (r RPCClient) BlockResults(ctx context.Context, height *int64) (*coretypes.ResultBlockResults, error)
- func (r RPCClient) BlockSearch(ctx context.Context, query string, page, perPage *int, orderBy string) (*coretypes.ResultBlockSearch, error)
- func (r RPCClient) BlockchainInfo(ctx context.Context, minHeight, maxHeight int64) (*coretypes.ResultBlockchainInfo, error)
- func (r RPCClient) BroadcastTxAsync(ctx context.Context, tx tmtypes.Tx) (*coretypes.ResultBroadcastTx, error)
- func (r RPCClient) BroadcastTxCommit(ctx context.Context, tx tmtypes.Tx) (*coretypes.ResultBroadcastTxCommit, error)
- func (r RPCClient) BroadcastTxSync(ctx context.Context, tx tmtypes.Tx) (*coretypes.ResultBroadcastTx, error)
- func (r RPCClient) Commit(ctx context.Context, height *int64) (*coretypes.ResultCommit, error)
- func (r RPCClient) Status(ctx context.Context) (*coretypes.ResultStatus, error)
- func (r RPCClient) Tx(ctx context.Context, hash []byte, prove bool) (*coretypes.ResultTx, error)
- func (r RPCClient) TxSearch(ctx context.Context, query string, prove bool, page, perPage *int, ...) (*coretypes.ResultTxSearch, error)
- func (r RPCClient) Validators(ctx context.Context, height *int64, page, perPage *int) (*coretypes.ResultValidators, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RPCClient ¶
type RPCClient struct {
// contains filtered or unexported fields
}
RPCClient wraps our slimmed down CometBFT client and converts the returned types to the upstream CometBFT types. This is useful so that it can be used in any function calls that expect the upstream types.
func NewRPCClient ¶
func (RPCClient) ABCIQueryWithOptions ¶
func (RPCClient) BlockByHash ¶
func (RPCClient) BlockResults ¶
func (RPCClient) BlockSearch ¶
func (RPCClient) BlockchainInfo ¶
func (RPCClient) BroadcastTxAsync ¶
func (RPCClient) BroadcastTxCommit ¶
func (RPCClient) BroadcastTxSync ¶
func (RPCClient) Validators ¶
Click to show internal directories.
Click to hide internal directories.