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.
Properties
Section titled “Properties”depositAddressRoutes?
Section titled “depositAddressRoutes?”
optionaldepositAddressRoutes?: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).
Methods
Section titled “Methods”callTargets()
Section titled “callTargets()”callTargets(
chain): readonlystring[]
Defined in: protocol-swap2-core/dist/types.d.ts:196
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”readonly string[]
spenders()
Section titled “spenders()”spenders(
chain): readonlystring[]
Defined in: protocol-swap2-core/dist/types.d.ts:197
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”readonly string[]
verifyBuild()?
Section titled “verifyBuild()?”
optionalverifyBuild(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.
Parameters
Section titled “Parameters”params?
Section titled “params?”Returns
Section titled “Returns”string | Promise<string | null> | null
verifyQuote()?
Section titled “verifyQuote()?”
optionalverifyQuote(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.
Parameters
Section titled “Parameters”params
Section titled “params”Returns
Section titled “Returns”string | null