Skip to content

FindBestRouteParams

SIP Protocol API Reference v0.15.1


SIP Protocol API Reference / FindBestRouteParams

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7916

Route finding parameters

from: object

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7918

Source chain and token

chain: ChainId

token: string


to: object

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7923

Destination chain and token

chain: ChainId

token: string


amount: bigint

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7928

Amount to swap (in smallest units)


privacyLevel: PrivacyLevel

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7930

Privacy level


optional preferSpeed?: boolean

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7932

Prefer speed over cost (default: false)


optional preferLowFees?: boolean

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7934

Prefer low fees over speed (default: true)


optional recipientMetaAddress?: string

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7936

Additional quote parameters


optional senderAddress?: string

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7937


optional slippageTolerance?: number

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7938


optional deadline?: number

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7939


optional skipCache?: boolean

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7941

Skip cache and fetch fresh quotes (default: false)