Function createDeregisterShipInstruction

  • Deregister a ship that was already registered (Admin only) Only to be called in the event of an invalid register

    Parameters

    • connection: Connection

      web3.Connection object

    • updateAuthorityAccount: PublicKey

      valid authority public key

    • shipMint: PublicKey

      Ship mint address

    • programId: PublicKey

      Deployed Score program ID

    Returns Promise<web3.TransactionInstruction>