spl-token_transferSol
Transfer native SOL between two Solana wallets using SystemProgram.transfer. Specify sender, recipient, amount in lamports, and optionally add a memo.
Instructions
Transfer native SOL between wallets via SystemProgram.transfer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient wallet address | |
| from | Yes | Sender wallet address | |
| memo | No | Optional memo to attach | |
| amount | Yes | Amount in lamports (1 SOL = 1_000_000_000 lamports) |