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}"}'
Arguments
- None
Return Fields
Field | Type | Description |
---|---|---|
router | Router | The router information for chains. |
Router
Field | Type | Description |
---|---|---|
CreatedAt | String | The timestamp when the router was created. |
UpdatedAt | String | The timestamp when the router was last updated. |
ContractAddress | String | The address of the router contract. |
ChainUID | String | The unique identifier (UID) of the chain. |
Type | String | The type of the router. |