SettlerResolver
Defined in: protocol-swap2-0x/src/settler.ts:160
Methods
Section titled “Methods”known()
Section titled “known()”known(
chainId): readonlystring[]
Defined in: protocol-swap2-0x/src/settler.ts:164
The last resolved set while it is still fresh; empty otherwise. Never touches the network.
Parameters
Section titled “Parameters”chainId
Section titled “chainId”number
Returns
Section titled “Returns”readonly string[]
resolve()
Section titled “resolve()”resolve(
chainId,options?):Promise<readonlystring[]>
Defined in: protocol-swap2-0x/src/settler.ts:162
The Settlers a swap on chainId may call: the one in force, then the one it replaced (if any). Throws when the registry cannot be read or the feature is paused.
Parameters
Section titled “Parameters”chainId
Section titled “chainId”number
options?
Section titled “options?”fresh?
Section titled “fresh?”boolean
Returns
Section titled “Returns”Promise<readonly string[]>