Trades from x to y timestamps

Returns the latest DEX trades by token on Solana, where currency mint address is 6p6xgH…GiPN, DEX protocol family is Raydium and block time before 2025-01-23: slot, block time, transaction signature, protocol family, price in USD, currency name, side type and amount in USD.

By raff · saved 23 January 2025 · run 23 times · Bitquery API v2

What it returns

Filters

The query

query LatestTrades {
  Solana {
    DEXTradeByTokens(
      orderBy: {descending: Block_Time}
      where: {Trade: {Currency: {MintAddress: {is: "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN"}}, Side: {}, Dex: {ProtocolFamily: {is: "Raydium"}}}, Block: {Time: {before: "2025-01-23T17:48:04Z", after: "2025-01-23T17:46:04Z"}}}
      limit: {}
    ) {
      Block {
        Slot
        Time
      }
      Transaction {
        Signature
      }
      Trade {
        Dex {
          ProtocolFamily
        }
        PriceInUSD
        Currency {
          Name
        }
        Side {
          Type
        }
        AmountInUSD
      }
    }
  }
}

Similar queries