Track USD Price Of Token

Streams DEX trades by token on Solana as they happen, where currency mint address is So1111…1112: block height, block time, account address, trade amount, currency mint address, currency name, currency symbol and 8 more fields.

By Ashish Bhintade · saved 19 June 2024 · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Solana {
    DEXTradeByTokens(
      where: {Trade: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}}}
    ) {
      Block {
        Height
        Time
      }
      Trade {
        Account {
          Address
        }
        Amount
        Currency {
          MintAddress
          Name
          Symbol
        }
        Dex {
          ProgramAddress
          ProtocolName
        }
        Market {
          MarketAddress
        }
        Order {
          LimitAmount
          LimitPrice
          OrderId
        }
        Price
        PriceInUSD
      }
    }
  }
}

Similar queries