Contracts.with_error_signature()
Adds a filter to get contracts that have an error with the given signature.
with_error_signature(signature: str) ->
Contracts
Query Example
from glider import *
def query():
contracts = Contracts().with_error_signature('InsufficientBalance(uint256,uint256)').exec(1)
errors = contracts[0].errors().exec()
for error in errors:
print(error.signature)
return contracts
Output Example

Last updated