buys and sells of a currency

Returns the latest DEX trades by token on Solana, where currency mint address is DysLyg…pump, DEX protocol name is pump and block time since 2024-08-19: block time, side type and transaction signature.

By Akshat · saved 19 August 2024 · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Solana {
    DEXTradeByTokens(
      orderBy:{descending:Block_Time}
      where: {Trade: {Currency: {MintAddress: {is: "DysLygS2zA45nymSvmxBtGqLPimksemMQbHAuL3dpump"}}, Dex: {ProtocolName: {is: "pump"}}}, Block: {Time: {since: "2024-08-19T04:38:00Z", till: "2024-08-19T04:51:00Z"}}, Transaction: {Result: {Success: true}}}
    ) {
      Block{
        Time
      }
      Trade{
        Side{
          Type
        }
      }
      Transaction {
        Signature
      }
    }
  }
}

Similar queries