SwapRequest
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / SwapRequest
Interface: SwapRequest
Section titled “Interface: SwapRequest”Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:4578
Swap request parameters (simplified interface for adapter)
Properties
Section titled “Properties”requestId
Section titled “requestId”requestId:
string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:4580
Unique request ID
privacyLevel
Section titled “privacyLevel”privacyLevel:
PrivacyLevel
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:4582
Privacy level for the swap
inputAsset
Section titled “inputAsset”inputAsset:
Asset
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:4584
Input asset
inputAmount
Section titled “inputAmount”inputAmount:
bigint
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:4586
Input amount in smallest units
outputAsset
Section titled “outputAsset”outputAsset:
Asset
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:4588
Output asset
minOutputAmount?
Section titled “minOutputAmount?”
optionalminOutputAmount:bigint
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:4590
Minimum output amount