Skip to content

FindBestRouteParams

SIP Protocol API Reference v0.7.2


SIP Protocol API Reference / FindBestRouteParams

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:4757

Route finding parameters

from: object

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:4759

Source chain and token

chain: ChainId

token: string


to: object

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:4764

Destination chain and token

chain: ChainId

token: string


amount: bigint

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:4769

Amount to swap (in smallest units)


privacyLevel: PrivacyLevel

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:4771

Privacy level


optional preferSpeed: boolean

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:4773

Prefer speed over cost (default: false)


optional preferLowFees: boolean

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:4775

Prefer low fees over speed (default: true)


optional recipientMetaAddress: string

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:4777

Additional quote parameters


optional senderAddress: string

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:4778


optional slippageTolerance: number

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:4779


optional deadline: number

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:4780