SwapRequest
SIP Protocol API Reference v0.15.1
SIP Protocol API Reference / SwapRequest
Interface: SwapRequest
Section titled “Interface: SwapRequest”Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:4639
Swap request parameters (simplified interface for adapter)
Properties
Section titled “Properties”requestId
Section titled “requestId”requestId:
string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:4641
Unique request ID
privacyLevel
Section titled “privacyLevel”privacyLevel:
PrivacyLevel
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:4643
Privacy level for the swap
inputAsset
Section titled “inputAsset”inputAsset:
Asset
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:4645
Input asset
inputAmount
Section titled “inputAmount”inputAmount:
bigint
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:4647
Input amount in smallest units
outputAsset
Section titled “outputAsset”outputAsset:
Asset
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:4649
Output asset
minOutputAmount?
Section titled “minOutputAmount?”
optionalminOutputAmount?:bigint
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:4651
Minimum output amount