Skip to content
docs

acrossRemoteProvider

acrossRemoteProvider(options): CrossChainProvider

Defined in: protocol-swap2-across/src/remote.ts:60

Across through your backend: remoteProvider with acrossPinsWith (the app’s fee cap), the routes this module prices, Across’s relayer fee read on the device, and on-device status when rpcUrls names both chains.

const across = acrossRemoteProvider({baseUrl: "https://api.example.com/swap2", rpcUrls});

AcrossRemoteOptions

CrossChainProvider