txsender in dextrade

Returns the latest 10 DEX trades on Ethereum and BNB Chain, where tx hash is 0x8c90…fc25: timestamp time, block height, trade index, protocol, full name, address address, annotation and 10 more fields.

By gaurav · saved 9 March 2022 · run 1 time · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $hash: String!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    dexTrades(
      options: {desc: ["block.height", "tradeIndex"], limit: $limit, offset: $offset}
      date: {since: $from, till: $till}
      txHash: {is: $hash}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      tradeIndex
      protocol
      exchange {
        fullName
      }
      smartContract {
        address {
          address
          annotation
        }
      }
      buyAmount
      buyCurrency {
        address
        symbol
      }
      sellAmount
      sellCurrency {
        address
        symbol
      }
      taker {
        address
      }
      maker {
        address
      }
      transaction {
        txFrom {
          address
        }
        to {
          address
        }
      }
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "bsc",
  "hash": "0x8c90cb1137f64ae5993312c9f6c7761585ffd3b12a112d91f45db6632b32fc25"
}

Similar queries