sol

Returns the latest 10 DEX trades by token on Solana, where DEX program address is 6EF8rr…wF6P and currency symbol is MILF: block time, currency mint address, currency name, currency symbol, protocol name, protocol family, program address and 6 more fields.

By aaa · saved 11 November 2024 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Solana {
    DEXTradeByTokens(
      orderBy: {descending: Block_Time}
      limit: {count: 10}
      where: {Trade: {Dex: {ProgramAddress: {is: "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"}}, Currency: {Symbol: {is: "MILF"}}}, Transaction: {Result: {Success: true}}}
    ) {
      Block {
        Time(if: {Block: {Date: {till: "2024-11-11"}}})
      }
      Trade {
        Currency {
          MintAddress
          Name
          Symbol
        }
        Dex {
          ProtocolName
          ProtocolFamily
          ProgramAddress
        }
        Side {
          Currency {
            MintAddress
            Symbol
            Name
          }
        }
        Price
        PriceInUSD
      }
      Transaction {
        Signature
      }
    }
  }
}

Similar queries