Adds a filter to get contracts whose names have the given prefix.
name_prefix(prefix: str, sensitivity: bool = True) -> Contracts
name_prefix(prefix: str, sensitivity: bool = True) ->
Contracts
from glider import * def query(): main_contracts = Contracts().name_prefix("Access", sensitivity=True).exec(1) return main_contracts
{ { "contract": "0xfb10b1b0f68b3eaaca1ecd12a47cf7f55beabb98", "contract_name": "AccessControlRegistryAdminned" } }
Last updated 4 months ago