FindBestRouteParams
SIP Protocol API Reference v0.15.1
SIP Protocol API Reference / FindBestRouteParams
Interface: FindBestRouteParams
Section titled “Interface: FindBestRouteParams”Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7916
Route finding parameters
Properties
Section titled “Properties”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
Section titled “amount”amount:
bigint
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7928
Amount to swap (in smallest units)
privacyLevel
Section titled “privacyLevel”privacyLevel:
PrivacyLevel
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7930
Privacy level
preferSpeed?
Section titled “preferSpeed?”
optionalpreferSpeed?:boolean
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7932
Prefer speed over cost (default: false)
preferLowFees?
Section titled “preferLowFees?”
optionalpreferLowFees?:boolean
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7934
Prefer low fees over speed (default: true)
recipientMetaAddress?
Section titled “recipientMetaAddress?”
optionalrecipientMetaAddress?:string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7936
Additional quote parameters
senderAddress?
Section titled “senderAddress?”
optionalsenderAddress?:string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7937
slippageTolerance?
Section titled “slippageTolerance?”
optionalslippageTolerance?:number
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7938
deadline?
Section titled “deadline?”
optionaldeadline?:number
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7939
skipCache?
Section titled “skipCache?”
optionalskipCache?:boolean
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7941
Skip cache and fetch fresh quotes (default: false)