Pumpfun DEX Trades

Streams DEX trades on Solana as they happen, where market market address is $market: method, protocol family, protocol name, buy amount, buy account address, buy currency name, buy currency symbol and 13 more fields.

By Adam Ilardi · saved 1 January 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The subscription

subscription MyQuery {
  Solana {
    DEXTrades(
      where: {Trade: {Market: {MarketAddress: {is: "$market"}}}}
    ) {
      Instruction {
        Program {
          Method
        }
      }
      Trade {
        Dex {
          ProtocolFamily
          ProtocolName
        }
        Buy {
          Amount
          Account {
            Address
          }
          Currency {
            Name
            Symbol
            MintAddress
            Decimals
            Fungible
            Uri
          }
        }
        Sell {
          Amount
          Account {
            Address
          }
          Currency {
            Name
            Symbol
            MintAddress
            Decimals
            Fungible
            Uri
          }
        }
      }
      Transaction {
        Signature
      }
    }
  }
}

Variables

{
  "market": "Env8iMavfAAwPiJ13pVEBZ1m25A8PmmBtKrHDUUkVPyN"
}

Similar queries