Skip to content
docs

RemotePins

Defined in: protocol-swap2-core/dist/types.d.ts:195

The contracts a provider’s EVM swaps call and approve on a chain, shipped by the provider package (lifiPins, fyndPins, uniswapPins…) and handed to remoteProvider({...pins}): a backend’s build is checked against the app’s addresses, never against its own (scan 2026-10-27 modules, F8/F9/F16). An empty list means the provider has no EVM calldata route on that chain.

optional depositAddressRoutes?: boolean

Defined in: protocol-swap2-core/dist/types.d.ts:211

The provider’s routes pay an address the backend names — a deposit address, or a plain value send — instead of calling a pinned contract (thorchainPins for a Tron vault, NEAR Intents’ per-quote deposit addresses). Without it a remote stub’s deposit-address and plain-value routes are refused (scan 2026-10-28, F9).

callTargets(chain): readonly string[]

Defined in: protocol-swap2-core/dist/types.d.ts:196

string

readonly string[]


spenders(chain): readonly string[]

Defined in: protocol-swap2-core/dist/types.d.ts:197

string

readonly string[]


optional verifyBuild(quote, tx, params?): string | Promise<string | null> | null

Defined in: protocol-swap2-core/dist/types.d.ts:205

A client-side check of a remote build (typed order, cell body) against its quote: the reason it fails, or null.

Quote

UnsignedTx

QuoteParams

string | Promise<string | null> | null


optional verifyQuote(params, quote): string | null

Defined in: protocol-swap2-core/dist/types.d.ts:203

A client-side check of a remote quote’s transaction against the user’s own request — the provider’s local validator run again on this side (Fynd: checkFyndTransaction): the reason it fails, or null.

QuoteParams

Quote

string | null