Skip to content
docs

acrossPinsWith

acrossPinsWith(opts?): RemotePins

Defined in: protocol-swap2-across/src/verify.ts:571

The app’s pins for a remote Across provider (remoteProvider({name: "across", ...acrossPinsWith({maxFeeBps})})): the only contract a build may call or approve is the chain’s SpokePool, and every quote and build is verified on the client against the user’s own request and the app’s fee cap — a server’s own cap (acrossProvider({maxFeeBps})) is not known on this side, so the app states the one it holds remote quotes to. reasonOf classifies a text verifyQuote / verifyBuild returned. Throws a plain Error for a cap out of range.

AcrossPinsOptions = {}

RemotePins