Real time trades on Raydium DEX on Solana filter Wallets Quangmv

Lọc giao dịch theo ví realtime

Streams DEX trades on Solana as they happen, where DEX program address is 675kPX…1Mp8, buy currency mint address is 4UxRx6…pump or So1111…1112 and sell currency mint address is 4UxRx6…pump or So1111…1112: program address, protocol family, protocol name, buy account address, buy amount, buy currency mint address, buy decimals and 16 more fields.

By maivinhquangtlu@gmail.com · saved 27 February 2025 · Bitquery API v2

What it returns

Filters

The subscription

subscription ($token_mint: String!, $addresses: [String!]!) {
  Solana {
    DEXTrades(
      where: {Trade: {Dex: {ProgramAddress: {is: "675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8"}}, 
        Buy: {Currency: {MintAddress: {in: [$token_mint,"So11111111111111111111111111111111111111112"]}}}, 
        Sell: {Currency: {MintAddress: {in: [$token_mint,"So11111111111111111111111111111111111111112"]}}}}, 
        Transaction: {Signer: {in: $addresses}}}
    ) {
      Trade {
        Dex {
          ProgramAddress
          ProtocolFamily
          ProtocolName
        }
        Buy {
          Account {
            Address
          }
          Amount
          Currency {
            MintAddress
            Decimals
            Symbol
            ProgramAddress
            Name
          }
          PriceAgaistSellCurrency: Price
        }
        Sell {
          Account {
            Address
          }
          Amount
          Currency {
            MintAddress
            Decimals
            Symbol
            Name
          }
          PriceAgaistBuyCurrency: Price
        }
      }
      Block {
        Time
        Height
      }
      Transaction {
        Signature
        FeePayer
        Signer
      }
    }
  }
}

Variables

{
  "token_mint":"4UxRx6v2yQE7wGe5kn5ttGYYce4KjnqoWSpmZMFCpump",
  "addresses":[
    "5Q544fKrFoe6tsEbD7S8EmxGTJYAKtTVhAW5Q5pge4j1",
    "288k8Aq3NoVmXJUrUeRjaXuJCe2mnCfEcavMucmGdVo1"
  ]
}

Similar queries