MCM Query all tx except OpenSea

Returns the latest 20 transfers on Ethereum and Polygon, where currency is 0x7ceb…f619, receiver is 0xe9ce…bdc8 and tx from is not 0x9b81…2ad2: timestamp time, sender address, currency symbol, amount and transaction hash.

By Scott · saved 31 January 2022 · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $address: String!, $limit: Int!, $offset: Int!, $currency: String!, $fromTime: ISO8601DateTime, $tillTime: ISO8601DateTime, $sender: String!) {
  ethereum(network: $network) {
    transfers(
      options: {desc: "block.timestamp.time", limit: $limit, offset: $offset}
      time: {since: $fromTime, till: $tillTime}
      amount: {gt: 0}
      currency: {is: $currency}
      receiver: {is: $address}
      txFrom: {not: $sender}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
      }
      address: sender {
        address
      }
      currency {
        symbol
      }
      amount
      transaction {
        hash
      }
    }
  }
}

Variables

{
  "limit": 20,
  "offset": 0,
  "network": "matic",
  "address": "0xe9ce9a78055776da9618a9ff0bf3244b7682bdc8",
  "currency": "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619",
  "fromTime": "2022-01-30T17:45:00",
  "tillTime": "2022-01-30T18:00:00",
  "dateFormat": "%Y-%m-%d",
  "sender": "0x9b814233894cd227f561b78cc65891aa55c62ad2"
}

Similar queries