Skip to main content

Dex Metadata

Queries the information on the specified Dex's logo.

query Token($dex: String!) {
token {
dex_metadata(dex: $dex) {
bg_color
logo
dex_name
fg_color
chain_uid
display_name
}
}
}

Example

curl --request POST \
--header 'content-type: application/json' \
--url 'https://testnet.api.euclidprotocol.com/graphql' \
--data '{"query":"query Token($dex: String!) {\n token {\n dex_metadata(dex: $dex) {\n bg_color\n logo\n dex_name\n fg_color\n chain_uid\n display_name\n }\n }\n}","variables":{"dex":"euclid"}}'

Open in Playground

Arguments

ArgumentTypeDescription
dexString!The Dex to query.

Return Fields

FieldTypeDescription
bg_colorStringThe background color used for the DEX.
logoStringThe URL of the DEX logo image.
dex_nameStringThe internal name of the DEX.
fg_colorStringThe foreground color used for the DEX.
chain_uidStringThe chain UID associated with the DEX.
display_nameStringThe human-readable name of the DEX.