Skip to main content

3 posts tagged with "new capability"

View All Tags

Introducing USD Price for chains on EAP and Price Asymmetry metric

· One min read
Divyasshree
Technical Writer
  • 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

Schema changed for Transaction_Time mempool and default settings to query blocks and trigger_on

· One min read
Aleksey Studnev
Bitquery Technical Director

The following changes applied to the schema:

  1. trigger_on attribute for subscription default value set now to all. 2Transaction_Time field for mempool Transaction now returns the transaction time not in numeric, but in ISO8601 format up to 1 nanosecond ( 9 digits after the seconds ),

"2006-01-02T15:04:05.999999999Z"