Function processCloseAccounts
- processCloseAccounts(program: ScoreIDLProgram, playerAccount: AsyncSigner<unknown>, shipMint: PublicKey, fuelMint: PublicKey, foodMint: PublicKey, armsMint: PublicKey): InstructionReturn
-
Parameters
-
-
playerAccount: AsyncSigner<unknown>
-
shipMint: PublicKey
-
fuelMint: PublicKey
-
foodMint: PublicKey
-
armsMint: PublicKey
Returns InstructionReturn
Close all accounts for a player
Returns
InstructionReturn