Skip to content

Cosmos Requester

List of supported rest calls to the Cosmos Rest endpoint

General

GetBlockByNumber

Sending the height returns the block data.

block, err := c.GetBlockCosmos(height)

GetTransaction

Sending the transaction hash returns the transaction data

txData, err := c.GetCosmosTx(hash string)

Evmos

  • Get all the token-pairs registered in STR
pairs, err := c.GetEvmosERC20TokenPairs()
  • Get all the active IBC rate limits
rateLimits, err := c.GetIBCRateLimits()