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.
What it returns
- iso8601
- transaction hash
- success
Filters
- smart contract address is 0xdabd…c11d
- smart contract method is mintToken
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
- find contracts with specific function name · Ethereum · SmartContractCalls
- v1 query - Calls to Different types of protocols for last 3 yrs · Ethereum · SmartContractCalls
- Calls to Different types of protocols · Ethereum · SmartContractCalls
- calls on an address · Ethereum · SmartContractCalls
- v1 calls equivalent of v2 tx from · Ethereum · SmartContractCalls