Specific Balancer Pool Trades using its address

Returns the latest 50 DEX trades on Ethereum, where smart contract address is 0x1eff…a3d5: transaction hash, address address, contract type, currency name, trade index, date date, block height and 10 more fields.

By gaurav · saved 7 December 2020 · run 5 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum {
    dexTrades(options: {limit: 50, desc: "block.height"}, smartContractAddress: {is: "0x1eff8af5d577060ba4ac8a29a13525bb0ee2a3d5"} ) {
      transaction {
        hash
      }
      smartContract{
        address{
          address
        }
        contractType
        currency{
          name
        }
      }
      tradeIndex
      date {
        date
      }
      block {
        height
      }
      buyAmount
      buyAmountInUsd: buyAmount(in: USD)
      buyCurrency {
        symbol
        address
      }
      sellAmount
    	sellAmountInUsd: sellAmount(in: USD)
      sellCurrency {
        symbol
        address
      }
      sellAmountInUsd: sellAmount(in: USD)
      tradeAmount(in: USD)
      transaction{
        gasValue
        gasPrice
        gas
      }
    }
  }
}

Similar queries