Function createDeregisterShipInstruction
- createDeregisterShipInstruction(connection, updateAuthorityAccount, shipMint, programId): Promise<web3.TransactionInstruction>
Parameters
- connection: Connection
- updateAuthorityAccount: PublicKey
- shipMint: PublicKey
- programId: PublicKey
Returns Promise<web3.TransactionInstruction>
Deregister a ship that was already registered (Admin only) Only to be called in the event of an invalid register