System Program methods return SolanaInstruction objects. To execute them on-chain, add the instructions to a transaction and use the Transaction Service. See Instructions & Transactions.
System Program Service
System Program Service
Build Solana System Program instructions for account creation, SOL transfers, space allocation, and durable nonce management.
System Program Service methods are instruction builders — each method returns a SolanaInstruction that you add to a transaction, compile, sign, and submit via the Transaction Service. No instruction executes on-chain until it is part of a submitted transaction. See Instructions & Transactions for the full pattern.