Function closeAccountsInstruction
- closeAccountsInstruction(connection, playerPublicKey, shipMint, fuelMint, foodMint, armsMint, programId): Promise<web3.TransactionInstruction>
Parameters
- connection: Connection
- playerPublicKey: PublicKey
- shipMint: PublicKey
- fuelMint: PublicKey
- foodMint: PublicKey
- armsMint: PublicKey
- programId: PublicKey
Returns Promise<web3.TransactionInstruction>
Close all escrow accounts and ship staking accounts