sender or receiver

Returns 5000 transfers on Ethereum, where date since 2021-01-01, date till 2021-11-10 and amount is above 0: sender address, annotation, contract type, protocol type, receiver address, amount, currency symbol and 9 more fields.

By gaurav · saved 15 November 2021 · run 3 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $address: String!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    transfers(
      options: {limit: $limit, offset: $offset}
      date: {since: $from, till: $till}
      amount: {gt: 0}
      external: true
      any: [{receiver: {is: $address}}, {sender: {is: $address}}]
    ) {
      sender {
        address
        annotation
        smartContract {
          contractType
          protocolType
        }
      }
      receiver {
        address
        annotation
        smartContract {
          contractType
          protocolType
        }
      }
      amount
      currency {
        symbol
        address
        name
        decimals
        tokenId
        tokenType
      }
      external
      entityId
      transaction {
        hash
      }
      block {
        timestamp {
          iso8601
        }
      }
    }
  }
}

Variables

{
  "network": "ethereum",
  "address": "0x6efdb9ba5539e356b2cdadf70ce45ac396b62755",
  "limit": 5000,
  "offset": 0,
  "from": "2021-01-01",
  "till": "2021-11-10"
}

Similar queries