Set Chain by Id

By default your Chain Id is defined in your SequenceConfig.ini file. Use this function to change it during runtime.

Get Native Token Balance

Use the Indexer API to retrieve the Ether balance for a specified wallet address, such as the local user’s address.

Get Token Balances

Retrieve the user’s token balances for ERC20, ERC721, and ERC1155 tokens. This will return an array of all tokens owned by the user.

Get Token Supplies

Retrieve the token supplies for an ERC20, ERC721, or ERC1155 token.

Get Token Supplies Map

Retrieve a collection of token supplies for ERC20, ERC721, or ERC1155 tokens.

Get Transaction History

Retrieve the transaction history for a wallet- or token address. For example, here we get all transactions for the current user.

Runtime Status

Retrieve the runtime status of the current chain. For example, call this function to get the latest block number.

Version

Retrieve the version of the current chain.

Ping

Ping the indexer to check if our endpoint is alive and ready.