Price of SOL/USDT

Returns 10 DEX trades by token on Solana, where currency mint address is So1111…1112 and side currency mint address is Es9vMF…wNYB, sorted by block time: block time, trade price, trade amount, protocol name, program address, currency name, currency mint address and 7 more fields.

By Akshat · saved 19 April 2024 · run 52 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Solana {
    DEXTradeByTokens(
      where: {Trade: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}, Side: {Currency: {MintAddress: {is: "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB"}}}}}
      orderBy: {ascending: Block_Time}
      limit: {count: 10}
      limitBy: {by: Block_Date, count: 1}
    ) {
      Block {
        Time
      }
      Trade {
        Price_of_a_WSOL: Price
        Amount
        Dex {
          ProtocolName
          ProgramAddress
        }
        Currency {
          Name
          MintAddress
          Symbol
          Native
        }
        Side {
          Currency {
            MintAddress
            Name
            Native
            Symbol
          }
          Amount
        }
      }
    }
  }
}

Similar queries