PA

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

By MCM · saved 21 January 2025 · Bitquery API v2

What it returns

Filters

The subscription

subscription PA {
  Solana {
    DEXTrades(
      where: {
        Trade: { 
          Dex: { ProtocolName: { is: "pump" } }
          Buy: { Currency: { MintAddress: { is: "$tokenAddress" } } }
        }
        Transaction: { Result: { Success: true } }
      }
    ) {
      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
      }
    }
  }
}

Similar queries