Pumpfun DEX Trades

kjh

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

By pavel · saved 22 November 2024 · Bitquery API v2

What it returns

Filters

The subscription

subscription MyQuery {
  Solana {
    DEXTrades(
      where: {
        Trade: { Dex: { ProtocolName: {} } },
        Instruction: {
          Accounts: { includes: { Address: { in: ["nLy5kFDq58QCidX35fwKGcTFkx8MVjPJ6wj6G8yNep6", "EJtPCRbrHdoEMKDAtFDMJMnykCZXutAG2BqvaQdxwbbJ", "4nFq2ocNZcCku2RWDDLpfb2XcAh9RmoPZQBz59MyKJgx"] } } },
          Program: { Method: { in: "buy" } }
        }
      }
    ) {
      Instruction {
        Program {
          Method
        }
      }
      Trade {
        Dex {
          ProtocolFamily
          ProtocolName
        }
        Buy {
          Amount
          Account {
            Address
          }
          Currency {
            Name
            Symbol
            MintAddress
            Decimals
            Fungible
            Uri
          }
        }
      }
      Transaction {
        Signature
      }
    }
  }
}

Similar queries