Last updated
curl -X POST https://wax.a-dex.io/v1/graphql \
-H "Content-Type: application/json" \
-d '{
"query": "query MyQuery { adex_oracle { contract precision price_amount price_contract price_precision price_symbol_code sha256 symbol_code updated_at } }"
}'const query = `
query MyQuery {
adex_oracle {
contract
precision
price_amount
price_contract
price_precision
price_symbol_code
sha256
symbol_code
updated_at
}
}`;
const response = await fetch('https://wax.a-dex.io/v1/graphql', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({ query })
});
const responseData = await response.json();