Optional accounts?: AAccounts used in the instruction context.
Optional instructions?: TransactionInstruction[]use preInstructions instead. Instructions to run before a given method. Often this is used, for example to create accounts prior to executing a method.
Optional options?: ConfirmOptionsCommitment parameters to use for a transaction.
Optional postInstructions to run after a given method. Often this is used, for example to close accounts after executing a method.
Optional preInstructions to run before a given method. Often this is used, for example to create accounts prior to executing a method.
Optional remainingAll accounts to pass into an instruction after the main accounts.
This can be used for optional or otherwise unknown accounts.
Optional signers?: Signer[]Accounts that must sign a given transaction.
Context provides all non-argument inputs for generating Anchor transactions.