list of currencies bought by address in a given time

Returns 100 DEX trades by token on Ethereum, where trade buyer is 0x1ac1…9d36 or 0x88e6…5640 and block time since 2024-03-31: trade amount, smart contract, currency symbol and currency name.

By gaurav · saved 1 April 2024 · run 3 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(network: eth, dataset: combined) {
    DEXTradeByTokens(
      limit: {count: 100}
      where: {Trade: {Buyer: {in: ["0x1ac1a8feaaea1900c4166deeed0c11cc10669d36", "0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640"]}}, Block: {Time: {since: "2024-03-31T16:20:47Z"}}}
    ) {
      Trade {
        Amount
        Currency {
          SmartContract
          Symbol
          Name
        }
      }
    }
  }
}

Variables

{
  "mempool": false,
  "network": "eth",
  "limit": 10,
  "offset": 0,
  "token": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
  "from": "2024-03-25",
  "till": "2024-04-01",
  "dateFormat": "%Y-%m-%d",
  "date_middle": "2024-03-28"
}

Similar queries