Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBlockByHeight ¶
func GetBlockByHeight(host string, height uint64) (result tx.GetBlockByHeightResponse, err error)
GetBlockByHeight makes a request to the Cosmos REST API to get a block by height
func GetEndpoint ¶
func GetLatestBlock ¶
func GetLatestBlock(host string) (tx.GetLatestBlockResponse, error)
func GetTxsByBlockHeight ¶
func GetTxsByBlockHeight(host string, height uint64) (tx.GetTxByBlockHeightResponse, error)
GetTxsByBlockHeight makes a request to the Cosmos REST API and returns all the transactions for a specific block
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.