failed-tx-example

For getting failed events

Returns 200 smart contract calls on Ethereum, where smart contract address is 0xdabd…c11d and smart contract method is mintToken, sorted by block timestamp iso8601: iso8601, transaction hash and success.

By ankitpareek0141 · saved 9 December 2021 · run 1 time · Bitquery API v1

What it returns

Filters

The query

query MyQuery {
  ethereum(network: ethereum) {
    smartContractCalls(
      smartContractAddress: {is: "0xdabd916389642bd1a354a342bb827b6de853c11d"}
      options: {limit: 200, asc: "block.timestamp.iso8601"}
      smartContractMethod: {is: "mintToken"}
    ) {
      block {
        timestamp {
          iso8601
        }
      }
      transaction(
        txHash: {is: "0xe4ed2c83e3f679f85bfd707d55ec4c0895c475b2951cbe2b196b7ad2cad2e1f6"}
      ) {
        hash
      }
      success
    }
  }
}

Similar queries