eth fetch transfers between

Returns 10 transfers on Ethereum, sorted by block height: gas value, transaction hash, iso8601 and block height.

By gaurav · saved 7 April 2025 · run 1 time · Bitquery API v1

What it returns

The query

query get_transfers_between($address: String!, $start: ISO8601DateTime!, $end: ISO8601DateTime!, $limit: Int = 10, $offset: Int = 0) {
  ethereum(network: ethereum) {
    transfers(
      options: {asc: "block.height", limit: $limit, offset: $offset}
      any: [{receiver: {is: $address}, time: {after: $start, before: $end}}, {sender: {is: $address}, time: {after: $start, before: $end}}]
    ) {
      transaction {
        gasValue
        hash
      }
      block {
        timestamp {
          iso8601
        }
        height
      }
    }
  }
}

Similar queries