Sends SOL tokens to a specified Solana address. This method constructs and sends a Solana transfer transaction.
lamports
: Amount of lamports to send (1 SOL = 1,000,000,000 lamports)to
: The recipient’s Solana addresswithChainId
: The CAIP-2 chain identifier (e.g., “solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp” for Solana mainnet)MpcError.addressNotFound
if no Solana address is found for the walletPortalSolError.failedToGetLatestBlockhash
if unable to get the latest blockhashPortalSolError.failedToGetTransactionHash
if transaction signing/sending failsSolanaSwift.PublicKey
initialization if addresses are invalidgenerate
or recover
if needed.