WrapParams
SIP Protocol API Reference v0.12.0
SIP Protocol API Reference / WrapParams
Interface: WrapParams
Section titled “Interface: WrapParams”Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:21637
Parameters for wrapping SPL tokens to C-SPL
Properties
Section titled “Properties”mint:
string
Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:21639
SPL token mint address
amount
Section titled “amount”amount:
bigint
Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:21641
Amount to wrap (in smallest units)
owner:
string
Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:21643
Owner wallet address
createAccount?
Section titled “createAccount?”
optionalcreateAccount?:boolean
Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:21645
Create C-SPL account if it doesn’t exist (default: true)