first and last transfer stats

Returns the latest transfer on Ethereum, where transfer sender is 0xf9D4…7F63, transfer receiver is 0xf9D4…7F63 and transaction from is 0xf9D4…7F63: block time, transaction hash, from and to.

By Divyasshree · saved 15 July 2026 · run 1 time · Bitquery API v2

What it returns

Filters

The query

{
  EVM(network: eth, dataset: combined) {
    firstTransferSent: Transfers(
      limit: {count: 1}
      orderBy: {ascending: Block_Time}
      where: {Transfer: {Sender: {is: "0xf9D48e42d0FEb477a0286B206eDbafefA3577F63"}}}
    ) {
      Block {
        Time
      }
      Transaction {
        Hash
        From
        To
      }
    }
    firstTransferReceived: Transfers(
      limit: {count: 1}
      orderBy: {ascending: Block_Time}
      where: {Transfer: {Receiver: {is: "0xf9D48e42d0FEb477a0286B206eDbafefA3577F63"}}}
    ) {
      Block {
        Time
      }
      Transaction {
        Hash
        From
        To
      }
    }
    lastTransferSent: Transfers(
      limit: {count: 1}
      orderBy: {descending: Block_Time}
      where: {Transfer: {Sender: {is: "0xf9D48e42d0FEb477a0286B206eDbafefA3577F63"}}}
    ) {
      Block {
        Time
      }
      Transaction {
        Hash
        From
        To
      }
    }
    lastTransferReceived: Transfers(
      limit: {count: 1}
      orderBy: {descending: Block_Time}
      where: {Transfer: {Receiver: {is: "0xf9D48e42d0FEb477a0286B206eDbafefA3577F63"}}}
    ) {
      Block {
        Time
      }
      Transaction {
        Hash
        From
        To
      }
    }
    firstTxSent: Transactions(
      limit: {count: 1}
      orderBy: {ascending: Block_Time}
      where: {Transaction: {From: {is: "0xf9D48e42d0FEb477a0286B206eDbafefA3577F63"}}}
    ) {
      Block {
        Time
      }
      Transaction {
        Hash
        From
        To
      }
    }
    firstTxReceived: Transactions(
      limit: {count: 1}
      orderBy: {ascending: Block_Time}
      where: {Transaction: {To: {is: "0xf9D48e42d0FEb477a0286B206eDbafefA3577F63"}}}
    ) {
      Block {
        Time
      }
      Transaction {
        Hash
        From
        To
      }
    }
    lastTxSent: Transactions(
      limit: {count: 1}
      orderBy: {descending: Block_Time}
      where: {Transaction: {From: {is: "0xf9D48e42d0FEb477a0286B206eDbafefA3577F63"}}}
    ) {
      Block {
        Time
      }
      Transaction {
        Hash
        From
        To
      }
    }
    lastTxReceived: Transactions(
      limit: {count: 1}
      orderBy: {descending: Block_Time}
      where: {Transaction: {To: {is: "0xf9D48e42d0FEb477a0286B206eDbafefA3577F63"}}}
    ) {
      Block {
        Time
      }
      Transaction {
        Hash
        From
        To
      }
    }
  }
}

Similar queries