buy volume of token

Returns DEX trades on Ethereum, where buy currency smart contract is 0x68e2…94ca, block time since 2024-12-01 and block time till 2024-12-18: sum of trade buy amount.

By gaurav · saved 18 December 2024 · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: combined, network: eth) {
    DEXTrades(
      where: {Trade: {Buy: {Currency: {SmartContract: {is: "0x68e2e5c9dff32419a108713f83274a4fb5e194ca"}}}}, Block: {Time: {since: "2024-12-01T00:00:00Z", till: "2024-12-18T00:00:00Z"}}}
    ) {
      sum(of: Trade_Buy_Amount)
    }
  }
}

Similar queries