Skip to main content

One min read
Divyasshree

We have now added data for several new Solana DEXes into our platform: Phoenix, Meteora, Lifi, and more!

You can filter information on a particular DEX by mentioning them in the ProtocolFamily field. For example the below query retrieves all trades in real-time from the Phoenix DEX.

subscription {
Solana {
DEXTrades(where: {Trade: {Dex: {ProtocolFamily: {is: "Phoenix"}}}}) {
Trade {
Dex {
ProgramAddress
ProtocolFamily
ProtocolName
}
Buy {
Account {
Address
}
Amount
Currency {
MintAddress
Decimals
Symbol
ProgramAddress
Name
}
PriceAgainstSellCurrency: Price
}
Sell {
Account {
Address
}
Amount
Currency {
MintAddress
Decimals
Symbol
Name
}
PriceAgainstBuyCurrency: Price
}
}
Block {
Time
Height
}
Transaction {
Signature
FeePayer
Signer
}
}
}
}

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

One min read
Aleksey Studnev

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"

One min read
Divyasshree

In this update we have

  • Added a new Token Holder API for archive dataset
  • Added new indexes Gini Coefficient, Nakamoto Index, Theil Index
  • Removed distinctBy filter to avoid any confusions over its usage.
  • Compulsorily require field in sum aggregation , for example: sum(of: Balance_Amount)
  • Added Support for aggregates in descendingByField

One min read
Aleksey Studnev

There is the major modification in the today release of Graphql:

  1. Arguments and return value for Calls and Events are now represented as arrays of structures. Use union to read values of arguments. Refer to arguments for details on data structures.
  2. Names of objects in GraphQL schema are simplified and no more contain UUID identifiers. It simplifies working with schema and allows to use fragments easier
  3. Set of bug fixed for using arrays, fragments and others

One min read
Aleksey Studnev
Gaurav
Lucas
Divyasshree

We are happy to start this project, documenting the new Bitquery data platform.

The first authors will be Bitquery developers, and later all our users and clients are welcome to participate.