Skip to content
docs

zeroExRemoteProvider

zeroExRemoteProvider(options): ZeroExRemoteProvider

Defined in: protocol-swap2-0x/src/remote.ts:201

0x through your backend: remoteProvider with zeroExPins, plus the registry reads the pins need — the Settler is resolved through the app’s RPC before a live quote is asked for (and once more, fresh, if the backend quotes a Settler the app has not seen yet), and the quote is held to exactly that set, however long the backend takes to answer; right before the broadcast preflightDeposit reads the registry again on the device and refuses a Settler no longer in it (zeroExPreflightDeposit), then asks the backend’s preflight. Indicative quotes need no RPC. settlerResolver is the resolver it reads through (signing policies: zeroExKnownSpenders).

ZeroExRemoteOptions

ZeroExRemoteProvider