WMATIC-USDC Events

Returns 10 smart contract events on Ethereum and Polygon, where smart contract address is 0xA374…6d32, date since 2023-10-07 and date till 2023-10-14, sorted by block timestamp iso8601, highest first: argument, argument type, arguments index, arguments value, address address, annotation, contract type and 6 more fields.

By Nikhil · saved 14 October 2023 · run 4 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) {
    smartContractEvents(
      options: {desc: "block.timestamp.iso8601", limit: $limit, offset: $offset}
      date: {since: $from, till: $till}
      smartContractAddress: {is: $address}
    ) {
      arguments {
        argument
        argumentType
        index
        value
      }
      smartContract {
        address {
          address
          annotation
        }
        contractType
        protocolType
      }
      smartContractEvent {
        name
        signature
        signatureHash
      }
      transaction {
        hash
      }
      block {
        timestamp {
          iso8601
        }
      }
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "matic",
  "address": "0xA374094527e1673A86dE625aa59517c5dE346d32",
  "from": "2023-10-07",
  "till": "2023-10-14T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries