v1 to v2 fragments

Returns the latest 1000 transfers on Ethereum, where transfer sender is 0x66cc…23d5, transfer receiver is 0x66cc…23d5 and block number is at most 21822749.

By Divyasshree · saved 11 February 2025 · run 3 times · Bitquery API v2

Filters

The query

{
  EVM(network: eth, dataset: combined) {
    destinations: Transfers(
      where: {Block: {Number: {le: "21822749"}}, Transfer: {Sender: {is: "0x66cc9a0eb519e9e1de68f6cf0aa1aa1efe3723d5"}}}
      limit: {count: 1000}
      orderBy: {descending: Block_Time}
    ) {
      ...transferFields
    }
    sources: Transfers(
      where: {Block: {Number: {le: "21822749"}}, Transfer: {Receiver: {is: "0x66cc9a0eb519e9e1de68f6cf0aa1aa1efe3723d5"}}}
      limit: {count: 1000}
      orderBy: {descending: Block_Time}
    ) {
      ...transferFields
    }
  }
}

fragment transferFields on EVM_Transfer_Cube {
  Transfer {
    Amount
    Currency {
      Name
      Symbol
      SmartContract
      Fungible
    }
    Id
    Index
    Sender
    Receiver
    Type
  }
  Block {
    Number
    Time
    Hash
  }
  Transaction {
    Hash
    Gas
    GasPrice
    Cost
  }
  TransactionStatus {
    Success
  }
}

Similar queries