3)

last I|O txs

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

By Ivan · saved 28 June 2023 · run 1 time · Bitquery API v1

What it returns

Filters

The query

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

Similar queries