Connection to use
Payer of the transaction and initialization fees
Owner of the new token account
Number of lamports to wrap
Optional
keypair: KeypairOptional keypair, defaulting to the associated token account for the native mint and owner
Optional
confirmOptions: ConfirmOptionsOptions for confirming the transaction
SPL Token program account
Address of the new wrapped native SOL account
Generated using TypeDoc
Create, initialize, and fund a new wrapped native SOL account