saving

Returns 5 transfers on Ethereum and Polygon, where receiver is 0x14d2…b978, currency is 0x2953…4963 and entity ID is 876288…3265, sorted by block timestamp iso8601.

By Omkar Acharekar · saved 23 June 2023 · Bitquery API v1

Filters

The query

query TokenMoves($network: EthereumNetwork!, $receiver: [EthereumAddressSelector!], $sender: [EthereumAddressSelector!], $entity: EntitySelector, $amount: [AmountSelector!], $tokens: [String!], $timestamp: DateTimeSelector, $options: QueryOptions) {
  ethereum(network: $network) {
    transfers(receiver: $receiver, sender: $sender, currency: {in: $tokens}, time: $timestamp, entityId: $entity, amount: $amount, options: $options) {
      ...tokenMove
    }
  }
}

fragment tokenMove on EthereumTransfers {
  block {
    height
    timestamp {
      iso8601
    }
  }
  transaction {
    hash
  }
}

Variables

{
  "network": "matic",
  "receiver": {"in": ["0x14d213c2e4b6d8ffee8329ba899f3957ece6b978"]},
  "timestamp": {"after": "2022-06-14T10:30:32.000Z"},
  "entity": {"in": ["87628844057707677867855071746606653298040070471345875671116124697211137163265"]},
  "tokens": ["0x2953399124f0cbb46d2cbacd8a89cf0599974963"],
  "options": { "asc": "block.timestamp.iso8601", "limit": 5}
}

Similar queries