Contracts.with_error_name()

Adds a filter to get contracts that have an error with the given name.

with_error_name(name: str, sensitivity: boot = True) -> Contracts

Query Example

from glider import *

def query():
  contracts = Contracts().with_error_name("Invalid").exec(1)

  return contracts

Output Example

{
    {
        "contract": "0x37d2127ed8fc713cbb30c8dd2f6ef6d329e43420",
        "contract_name": "MiyaMints"
    }
}

Last updated