2)

last tx

Returns the latest transaction on Ethereum, where tx sender is 0x9522…Afe5 and tx to is 0x9522…Afe5: hash, block height and timestamp time.

By Ivan · saved 28 June 2023 · run 2 times · Bitquery API v1

What it returns

Filters

The query

query getFirstTxData {
  ethereum(network: ethereum) {
    first_outgoing_txn: transactions(
      txSender: {is: "0x95222290DD7278Aa3Ddd389Cc1E1d165CC4BAfe5"}
      options: {limit: 1, desc: "block.timestamp.time"}
    ) {
      hash
      block {
        height
        timestamp{
          time
        }
      }
    }
     first_incoming_txn: transactions(
      txTo: {is: "0x95222290DD7278Aa3Ddd389Cc1E1d165CC4BAfe5"}
      options: {limit: 1, desc: "block.timestamp.time"}
    ) {
      hash
      block {
        height
        timestamp{
          time
        }
      }
    }
  }
}

Similar queries