Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { // GetLatestBlockNumber returns the latest block height from the chain GetLatestBlockNumber() (uint64, error) // GetBlocks returns a slice of Block - including the block height and its // timestamp in milliseconds - in the requested range only if they contain // transactions GetBlocks(ctx context.Context, from, to uint64) ([]*Block, error) // GetTxResults returns the block transaction results (if any) GetTxResults(block uint64) ([]*abci.ResponseDeliverTx, error) }
Client defines the client interface for fetching chain data
Click to show internal directories.
Click to hide internal directories.