State
Queries state information for the router.
query State {
router {
state {
admin
vlp_code_id
virtual_balance_address
}
}
}
Example
curl --request POST \
--header 'content-type: application/json' \
--url 'https://testnet.api.euclidprotocol.com/graphql' \
--data '{"query":"query State {\n router {\n state {\n admin\n vlp_code_id\n virtual_balance_address\n }\n }\n}"}'
Return Fields
Field | Type | Description |
---|---|---|
admin | String | The admin address of the router. |
vlp_code_id | Int | The code ID of the VLP. |
virtual_balance_address | String | The address of the VBalance contract. |