FirstTransactionOfAnAddress

Returns one transaction on Ethereum, sorted by block number: block time, block number, transaction hash, cost, to and from.

By George · saved 9 September 2024 · Bitquery API v2

What it returns

The query

{
  EVM(dataset: archive, network: eth) {
    Transactions(
      limit: {count: 1}
      where: {any: [{Transaction: {From: {is: "0x21a31ee1afc51d94c2efccaa2092ad1028285549"}}}, {Transaction: {To: {is: "0x21a31ee1afc51d94c2efccaa2092ad1028285549"}}}]}
      orderBy: {ascending: Block_Number}
    ) {
      Block {
        Time
        Number
      }
      Transaction {
        Hash
        Cost
        To
        From
      }
    }
  }
}

Similar queries