query

package
v0.0.38 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL