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