Avax smart contract events

Returns 10 smart contract events on Ethereum and Avalanche, where smart contract address is 0xb97e…8a6e, smart contract event is Approval and height is above 0, sorted by block height: argument, arguments value, block height, transaction hash, tx from address, smart contract event name, smart contract event signature and 2 more fields.

By gaurav · saved 17 July 2023 · run 2 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: avalanche) {
    smartContractEvents(
      smartContractEvent: {is: "Approval"}
      options: {limit: 10, asc: "block.height"}
      smartContractAddress: {is: "0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e"}
      height: {gt: 0}
    ) {
      arguments {
        argument
        value
      }
      block {
        height
      }
      transaction {
        hash
        txFrom {
          address
        }
      }
      smartContractEvent {
        name
        signature
        signatureHash
      }
      smartContract {
        address {
          address
        }
      }
    }
  }
}

Similar queries