Track Trades Related To Token

Streams DEX trades on Solana as they happen, where buy currency mint address is So1111…1112: block height, block time, buy account address, buy amount, buy amount in USD, buy currency name, buy currency symbol and 6 more fields.

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

What it returns

Filters

The subscription

subscription {
  Solana {
    DEXTrades(
      where: {Trade: {Buy: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}}}}
    ) {
      Block {
        Height
        Time
      }
      Trade {
        Buy {
          Account {
            Address
          }
          Amount
          AmountInUSD
          Currency {
            Name
            Symbol
          }
        }
        Dex {
          ProtocolName
        }
        Sell {
          Account {
            Address
          }
          Amount
          AmountInUSD
          Currency {
            Name
            Symbol
          }
        }
      }
    }
  }
}

Similar queries