Donation Query

Returns the latest 10 smart contract events on Ethereum and Polygon, where smart contract address is 0x050d…4e09 and smart contract event is BuySocialImpact: unixtime, arguments value, argument and transaction hash.

By David Gray · saved 4 July 2023 · Bitquery API v1

What it returns

Filters

The query

  query {
    ethereum(network: matic) {
      smartContractEvents(
        options: {desc: "block.timestamp.unixtime", limit: 10}
        smartContractEvent: {is: "BuySocialImpact"}
        smartContractAddress: {is: "0x050de9ccaa981dbfb629caece5627c8ac27a4e09"}
      ) {
        block {
          timestamp {
            unixtime
          }
        }
        arguments {
          value
          argument
        }
        transaction {
          hash
        }
      }
    }
  }

Similar queries