Contracts.with_name()

Adds a filter to get contracts with the given name.

with_name(name: str, sensitivity: bool = True) -> Contracts

Query Example

from glider import *

def query():
  contracts = Contracts().with_name("Deposit", sensitivity=False).exec(1)
  
  return contracts

Output Example

{
    {
        "contract": "0xad23d386ff5be971fcf57f34f477217f91bbc44d",
        "contract_name": "Deposit"
    }
}

Last updated