ox_correctqeury_ updated

Returns the latest 10 DEX trades by token on Solana, where market market address is 5eLRsN…szxH: block time, currency name, currency symbol, trade amount, trade price, price in USD, side currency name and 5 more fields.

By gaurav · saved 23 July 2024 · run 4 times · Bitquery API v2

What it returns

Filters

The query

{
  Solana {
    DEXTradeByTokens(
      orderBy: {descending: Block_Time}
      limit: {count: 10}
      where: {Trade: {Market: {MarketAddress: {is: "5eLRsN6qDQTQSBF8KdW4B8mVpeeAzHCCwaDptzMyszxH"}}}, Transaction: {Result: {Success: true}}}
    ) {
      Block {
        Time
      }
      Trade {
        Currency {
          Name
          Symbol
        }
        Amount
        PriceAgainstSideCurrency: Price
        PriceInUSD
        Side {
          Currency {
            Name
            Symbol
          }
          Amount
          Type
        }
      }
      Transaction {
        Maker: Signer
        Signature
      }
    }
  }
}

Similar queries