scrape

Returns 100 DEX trades on Solana, where block time since 2023-01-01: buy account address, buy amount, buy amount in USD, buy currency name, buy currency mint address, buy price, buy price in USD and 9 more fields.

By Ruben Vermeulen · saved 19 October 2024 · run 2 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Solana(dataset: realtime) {
    DEXTrades(limit: {count: 100, offset: 0}, where: {Block: {Time: {since: "2023-01-01T00:00:00Z"}}}) {
      Trade {
        Buy {
          Account {
            Address
          }
          Amount
          AmountInUSD
          Currency {
            Name
            MintAddress
          }
          Price
          PriceInUSD
        }
        Dex {
          ProgramAddress
          ProtocolName
        }
        Sell {
          Account {
            Address
          }
          Amount
          AmountInUSD
          Currency {
            MintAddress
            Name
          }
          Price
          PriceInUSD
        }
      }
    }
  }
}

Similar queries