transaction api unoptimised

Returns the latest 100 transactions on Ethereum, where tx to is 0xEA67…8ec8 and tx sender is 0xEA67…8ec8: unixtime, hash, amount, currency name, currency symbol, gas value, sender address and to address.

By gaurav · saved 20 June 2022 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    txto: transactions(
      options: {desc: "block.timestamp.unixtime", limit: 100}
      txTo: {is: "0xEA674fdDe714fd979de3EdF0F56AA9716B898ec8"}
    ) {
      block {
        timestamp {
          unixtime
        }
      }
      hash
      amount
      currency {
        name
        symbol
      }
      gasValue
      sender {
        address
      }
      to {
        address
      }
    }
    txfrom: transactions(
      options: {desc: "block.timestamp.unixtime", limit: 100}
      txSender: {is: "0xEA674fdDe714fd979de3EdF0F56AA9716B898ec8"}
    ) {
      block {
        timestamp {
          unixtime
        }
      }
      hash
      amount
      currency {
        name
        symbol
      }
      gasValue
      sender {
        address
      }
      to {
        address
      }
    }
  }
}

Similar queries