zeroExPins
zeroExPins(
config?):RemotePins&object
Defined in: protocol-swap2-0x/src/remote.ts:170
The app’s pins for a remote 0x provider. Unlike a provider with one fixed router, the call target is whatever the
registry names now, so the pins hold a resolver: callTargets answers from its last fresh read (empty until one is
made — use zeroExRemoteProvider, which reads before every live quote and build), spenders is canonical
Permit2 and nothing else. reasonOf classifies every text the verifiers return.
For a signing policy’s known Permit2 spenders (wallet-evm describeTypedData({knownSpenders}), a kit allowlist)
use zeroExKnownSpenders with the provider the app swaps through: the Settler rotates, so no static table can
hold it, and a fresh zeroExPins() has a resolver of its own that has read nothing yet.
Parameters
Section titled “Parameters”config?
Section titled “config?”ZeroExPinsConfig = {}
Returns
Section titled “Returns”RemotePins & object