dexreade

Returns DEX trades on Solana: chain ID, protocol family, protocol name, trade index, buy amount, buy amount in USD, buy price and 11 more fields.

By Aarti · saved 18 June 2024 · run 9 times · Bitquery API v2

What it returns

The query

query MyQuery {
  Solana(dataset: realtime, network: solana) {
    DEXTrades {
      ChainId
      Trade {
        Dex {
          ProtocolFamily
          ProtocolName
        }
        Index
        Buy {
          Amount
          AmountInUSD
          Price
          PriceInUSD
          Account {
            Address
          }
          Currency {
            Name
            MintAddress
          }
        }
        Sell {
          Amount
          AmountInUSD
          Price
          PriceInUSD
          Account {
            Address
          }
          Currency {
            MintAddress
            Name
          }
        }
      }
    }
  }
}

Similar queries