Skip to main content

Introducing USD Price for chains on EAP and Price Asymmetry metric

· One min read
Divyasshree
  • We are excited to announce the introduction of USD pricing for V2 and EAP chains, a feature many of you have eagerly awaited. You can query USD price now as shown below.

We have a 3-minute candle data based on token trading volume on centralized exchanges, so we refresh the USD price every 3 minutes.

subscription {
Solana {
DEXTrades(where: {
Trade: {
PriceAsymmetry: {
le: 0.5
}
}
}) {
Block {
Time
}
Trade {
PriceAsymmetry
Buy {
Amount
AmountInUSD
PriceInUSD
Currency {Symbol}
}
Sell {
Amount
AmountInUSD
PriceInUSD
Currency {Symbol}
}
}
}
}
}

Check more examples in Examples section

  • Taking insights from our V1 APIs, we've introduced an improved price asymmetry metric to filter outliers on EAP chains. Read more here

If you're new to this space, read more about the Early Access Program(EAP) here