solana real time trades

Streams the latest 100 DEX trades by token on Solana as they happen, where DEX program address is 675kPX…1Mp8, currency mint address is AujTJJ…ZLmG and side currency mint address is So1111…1112: block time, transaction signature, account address, trade price, trade amount, currency mint address, currency name and 7 more fields.

By gaurav · saved 11 June 2024 · run 14 times · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Solana {
    DEXTradeByTokens(
      limit: {count: 100}
      orderBy: {descending: Block_Time}
      where: {Trade: {Dex: {ProgramAddress: {is: "675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8"}}, Currency: {MintAddress: {is: "AujTJJ7aMS8LDo3bFzoyXDwT3jBALUbu4VZhzZdTZLmG"}}, Side: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}}}, Transaction: {Result: {Success: true}}}
    ) {
      Block {
        Time
      }
      Transaction {
        Signature
      }
      Trade {
        Account {
          Address
        }
        Price
        Amount
        Currency {
          MintAddress
          Name
          Symbol
        }
        Side {
          Account {
            Address
          }
          Amount
          Amount
          AmountInUSD
          Currency {
            MintAddress
            Name
            Symbol
          }
        }
      }
    }
  }
}

Similar queries