USDT Liquidity v2

Total buy sell of an NFT on opensea

Returns DEX trades on Ethereum, where buy currency smart contract is 0xdac1…1ec7: sum of trade buy amount, count, buy currency name, buy protocol name, buy currency symbol, buy fungible and buy smart contract.

By Divyasshree N · saved 6 July 2023 · Bitquery API v2

What it returns

Filters

The query

query MyQuery($base_currency: String!) {
  EVM(dataset: combined, network: eth) {
    DEXTrades(
      where: {Trade: {Buy: {Currency: {SmartContract: {is: $base_currency}}}}}
    ) {
      tradeVol: sum(of: Trade_Buy_Amount)
      count
      buyer: count(distinct: Trade_Buy_Buyer)
      seller: count(distinct: Trade_Buy_Seller)
      Trade {
        Buy {
          Currency {
            Name
            ProtocolName
            Symbol
            Fungible
            SmartContract
          }
        }
      }
    }
  }
}

Variables

{
  "base_currency":"0xdac17f958d2ee523a2206206994597c13d831ec7"
}

Similar queries