Cosmos Hub

/getbalance

Get the balance or number of the given token in the requested public address.

GET https://api.expand.network/chain/getbalance

Query Parameters

NameTypeDescription

rpc

String

Remote procedural call URL

chainId*

String

Refer to the Chain ID page for details.

chainSymbol

String

Refer to the Chain ID page for details.

address*

String

The public address to get the balance of.

tokenAddress

String

The address of token to get the balance of.

https://api.expand.network/chain/getbalance?chainId=cosmoshub-4&address=cosmos1y626ufdwxw4pfcst9nt82882zru6nhlvuvvj6t&tokenAddress=ibc%2F6B8A3F5C2AD51CD6171FA41A7E8C35AD594AB69226438DB94450436EA57B3A89

/getblock

Get details of a block.

GET https://historicallp.api.expand.network/chain/getblock

Query Parameters

NameTypeDescription

rpc

String

Remote procedural call URL.

chainId*

String

Refer to the Chain ID page for details.

chainSymbol

String

Refer to the Chain ID page for details.

blockNumber*

String

The block(sequence) number.

https://historicallp.api.expand.network/chain/getblock?chainId=cosmoshub-4&blockNumber=21099500