Skip to main content

All Chains

Queries information for each chain integrated with Euclid.

query Chains($showAllChains: Boolean, $type: String) {
chains {
all_chains(show_all_chains: $showAllChains, type: $type) {
chain_id
factory_address
token_factory_address
display_name
explorer_url
chain_uid
logo
type
}
}
}

Example

curl --request POST \
--header 'content-type: application/json' \
--url 'https://testnet.api.euclidprotocol.com/graphql' \
--data '{
"query": "query Chains($showAllChains: Boolean, $type: String) {\n chains {\n all_chains(show_all_chains: $showAllChains, type: $type) {\n chain_id\n factory_address\n token_factory_address\n display_name\n explorer_url\n chain_uid\n logo\n type\n }\n }\n}",
"variables": {
"showAllChains": true,
"type": "evm"
}
}'

Open in Playground

Arguments

NameTypeDescription
showAllChainsBooleanIf true, includes chains that are not yet integrated (but planned).
typeStringOptional. Filters chains by type (e.g., EVM, Cosmwasm, etc).

Return Fields

FieldTypeDescription
chain_idStringThe chain ID used in the protocol.
chain_uidStringThe unique identifier (UID) of the chain.
display_nameStringA user-friendly name for the chain.
factory_addressStringThe contract address of the main factory on that chain.
token_factory_addressString(New) The contract address of the token factory on that chain.
explorer_urlStringA URL to the block explorer for this chain.
logoStringThe logo URL or path used in the UI.
typeStringThe ecosystem the chain belongs to (e.g., "EVM", "Cosmwasm").