remotePinRefusal
remotePinRefusal(
provider,q,chain):string|null
Defined in: protocol-swap2-core/src/validate.ts:60
Why a remote provider’s quote cannot execute in this app, or null: its EVM transaction calls or
approves an address the app did not pin (remoteProvider callTargets / spenders), or it pays
an address the backend named — a deposit address or a plain value send — on a stub the app did not
open to such routes (depositAddressRoutes, scan 2026-10-28 F9), or it is EVM calldata on a stub without the
app’s own check of what that calldata does (verifyQuote / verifyBuild, scan 2026-10-30 F3). The router and the
single-provider path drop such a quote with this reason, so the auction never picks a route
execution would refuse (scan 2026-10-27 modules, F8/F9/F16); execution checks the build again, in
full. Local providers are not judged here.
Parameters
Section titled “Parameters”provider
Section titled “provider”Pick<CrossChainProvider, "name" | "remote" | "callTargets" | "spenders" | "depositAddressRoutes" | "verifiesQuotes" | "verifiesBuilds">
string
Returns
Section titled “Returns”string | null