Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExplorerClient ¶
type ExplorerClient interface { QueryClient() *grpc.ClientConn GetTxByTxHash(ctx context.Context, hash string) (explorerPB.GetTxByTxHashResponse, error) GetTxs(ctx context.Context, req explorerPB.GetTxsRequest) (explorerPB.GetTxsResponse, error) GetBlock(ctx context.Context, blockHeight string) (explorerPB.GetBlockResponse, error) GetBlocks(ctx context.Context) (explorerPB.GetBlocksResponse, error) GetAccountTxs(ctx context.Context, req explorerPB.GetAccountTxsRequest) (explorerPB.GetAccountTxsResponse, error) GetPeggyDeposits(ctx context.Context, req explorerPB.GetPeggyDepositTxsRequest) (explorerPB.GetPeggyDepositTxsResponse, error) GetPeggyWithdrawals(ctx context.Context, req explorerPB.GetPeggyWithdrawalTxsRequest) (explorerPB.GetPeggyWithdrawalTxsResponse, error) GetIBCTransfers(ctx context.Context, req explorerPB.GetIBCTransferTxsRequest) (explorerPB.GetIBCTransferTxsResponse, error) StreamTxs(ctx context.Context) (explorerPB.InjectiveExplorerRPC_StreamTxsClient, error) StreamBlocks(ctx context.Context) (explorerPB.InjectiveExplorerRPC_StreamBlocksClient, error) Close() }
func NewExplorerClient ¶
func NewExplorerClient(protoAddr string, options ...common.ClientOption) (ExplorerClient, error)
Click to show internal directories.
Click to hide internal directories.