Skip to main content

Router

Queries information on the router contract.

query Chains {
chains {
router {
CreatedAt
UpdatedAt
ContractAddress
ChainUID
Type
}
}
}

Example

curl --request POST \
--header 'content-type: application/json' \
--url 'https://api.euclidprotocol.com/graphql' \
--data '{"query":"query Chains {\n chains {\n router {\n CreatedAt\n UpdatedAt\n ContractAddress\n ChainUID\n Type\n }\n }\n}"}'

Open in Playground

Arguments

  • None

Return Fields

FieldTypeDescription
routerRouterThe router information for chains.

Router

FieldTypeDescription
CreatedAtStringThe timestamp when the router was created.
UpdatedAtStringThe timestamp when the router was last updated.
ContractAddressStringThe address of the router contract.
ChainUIDStringThe unique identifier (UID) of the chain.
TypeStringThe type of the router.