Latest Trades of COin

4ek3ugMSD2DXe4PzoiS52Cdqy2q32UFASBLZg6SH5x7S

Returns the latest DEX trade by token on Solana, where currency mint address is 4ek3ug…5x7S and side currency mint address is So1111…1112: block time, transaction signature, market address, protocol name, protocol family, amount in USD, price in USD and 8 more fields.

By WILLIAN C DOMINGUES · saved 18 February 2025 · run 3 times · Bitquery API v2

What it returns

Filters

The query

query LatestTrades {
  Solana {
    DEXTradeByTokens(
      orderBy: {descending: Block_Time}
      limit: {count: 1}
      where: {Trade: {Currency: {MintAddress: {is: "4ek3ugMSD2DXe4PzoiS52Cdqy2q32UFASBLZg6SH5x7S"}}, 
        Side: {Currency: {MintAddress: {in: ["", "So11111111111111111111111111111111111111112"]}}}}}
    ) {
      Block {
        Time
      }
      Transaction {
        Signature
      }
      Trade {
        Market {
          MarketAddress
        }
        Dex {
          ProtocolName
          ProtocolFamily
        }
        AmountInUSD
        PriceInUSD
        Amount
        Currency {
          Name
        }
        Side {
          Type
          Currency {
            Symbol
            MintAddress
            Name
          }
          AmountInUSD
          Amount
        }
      }
    }
  }
}

Similar queries