Live price of a token (after bond)

Live price of a token

Streams the latest DEX trade by token on Solana as they happen, where currency mint address is So1111…1112 and side currency mint address is DxrupD…pump: block time and trade price.

By Hakim · saved 11 November 2024 · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Solana {
    DEXTradeByTokens(
      limit: {count: 1}
      orderBy: {descending: Block_Time}
      where: {Trade: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}, Side: {Currency: {MintAddress: {is: "DxrupDm3nUtMtMRxfZVyUPgtunTKdgQjRmLTEv3Jpump"}}}}}
    ) {
      Block {
        Time
      }
      Trade {
        Price
      }
    }
  }
}

Similar queries