Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBlockByHeight ¶
func GetBlockByHeight(height int64) (*tmservice.GetBlockByHeightResponse, error)
GetBlockByHeight query the block data at height
func GetLatestBlock ¶
func GetLatestBlock() (*tmservice.GetLatestBlockResponse, error)
GetLatestBlock query the latest block data
func GetTxByHash ¶
func GetTxByHash(txHash string) (*txtypes.GetTxResponse, error)
GetTxByHash query the transaction by TX hash, same as `seid q tx --hash`
func GetTxsEvent ¶
func GetTxsEvent(blockHeight int64) (*txtypes.GetTxsEventResponse, error)
GetTxsEvent query the detailed transaction data, same as `seid q txs --events`
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.