ZUG Trades

Trades for a specific pair on the Pancake DEX

Returns the latest DEX trades on Ethereum and Polygon, where smart contract address is 0x0a7f…c515: transaction hash, transaction index, tx from address, second, block height, buy amount, buy currency symbol and 4 more fields.

By John · saved 30 March 2022 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: matic) {
    dexTrades(
      options: {desc: "block.height"}
      smartContractAddress: {is: "0x0a7f27e370168b1e1be2ef77a8ba28d66983c515"}
    ) {
      transaction {
        hash
        index
        txFrom {
          address
        }
      }
      timeInterval {
        second
      }
      block {
        height
      }
      buyAmount
      buyCurrency {
        symbol
        address
      }
      sellAmount
      sellCurrency {
        symbol
        address
      }
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "matic",
  "from": null,
  "till": null,
  "dateFormat": "%Y-%m"
}

Similar queries