Skip to main content

State

Queries state information for the router.

query Router {
router {
state {
admin
vlp_code_id
vcoin_address
}
}
}

Example

curl --request POST \
--header 'content-type: application/json' \
--url 'https://api.euclidprotocol.com/graphql' \
--data '{"query":"query Router {\n router {\n state {\n admin\n vlp_code_id\n vcoin_address\n }\n }\n}"}'

Open in Playground

Return Fields

FieldTypeDescription
adminStringThe admin address of the router.
vlp_code_idIntThe code ID of the VLP.
vcoin_addressStringThe address of the VBalance contract.