Get Last Trade on PumpFun

Streams DEX trades by token on Solana as they happen, where currency mint address is 55KrNj…pump and DEX program address is pAMMBa…fXEA: block time, block hash, block height, account address, token owner, trade amount, amount in USD and 16 more fields.

By Daniel · saved 3 July 2025 · run 9 times · Bitquery API v2

What it returns

Filters

The subscription

subscription MyQuery {
  Solana {
    DEXTradeByTokens(
      where: {Trade: {Currency: {MintAddress: {is: "55KrNjWHrkgxCzTLvcgaKYDxaopuxZK8vETi1CJNpump"}}, Dex: {ProgramAddress: {is: "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"}}}, Transaction: {Result: {Success: true}}}
    ) {
      Block {
        Time
        Hash
        Height
      }
      Trade {
        Account {
          Address
          Token {
            Owner
          }
        }
        Amount
        AmountInUSD
        Currency {
          MintAddress
          Name
        }
        Dex {
          ProtocolName
          ProtocolFamily
          ProgramAddress
        }
        Market {
          MarketAddress
        }
        Price
        PriceInUSD
        Side {
          Type
          Amount
          AmountInUSD
          Account {
            Address
            Token {
              Owner
            }
          }
          Currency {
            MintAddress
            Name
          }
        }
      }
      Transaction {
        Signature
      }
    }
  }
}

Similar queries