본문으로 건너뛰기

Get chain data

Immutable's Blockchain Data indexer supports multiple blockchains. The List Chains function returns a list of supported blockchains. This function is useful to get details on supported chains without need for hard coding them, and programs can use it to integrate new chains automatically.

Get chain dataGet chain data

Supported chains

The following zkEVM chains are currently live:

Chain NameChain IDOperator Allowlist Address
imtbl-zkevm-testneteip155:134730x6b969FD89dE634d8DE3271EbE97734FEFfcd58eE
imtbl-zkevm-mainneteip155:133710x5F5EBa8133f68ea22D712b0926e2803E78D89221

Request parameters

ParameterDescriptionRequired
Pagination parametersParameters such as page_size and page_cursor that allow you to control the size and order of the data retrievedNo

List all chains supported by Immutable's Indexer

If a user wants to review all chains (Production and Dev) supported by Immutable’s search engine the `listChains` function should be used with the following parameters:

const ListChains = async () => {
const response = await client.listChains();
return response.result;
};

The result will return an array of Chain objects.

Example response

{
"result": [
{
"id": "eip155:13473",
"name": "imtbl-zkevm-testnet",
"rpc_url": "string"
}
],
"page": {
"previous_cursor": "ewogICJ0eXBlIjogInByZXYiLAogICJpdGVtIjogewogICAgImlkIjogNjI3NTEzMCwKICAgICJjcmVhdGVkX2F0IjogIjIwMjItMDktMTNUMTc6MDQ6MTIuMDI0MTI2WiIKICB9Cn0=",
"next_cursor": "ewogICJ0eXBlIjogInByZXYiLAogICJpdGVtIjogewogICAgImlkIjogNjI3NTEzMCwKICAgICJjcmVhdGVkX2F0IjogIjIwMjItMDktMTNUMTc6MDQ6MTIuMDI0MTI2WiIKICB9Cn0="
}
}