> For the complete documentation index, see [llms.txt](https://ryan-44.gitbook.io/portrait/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ryan-44.gitbook.io/portrait/portrait-sdk/collective-portraits/read/getminimumcontrolshares.md).

# getMinimumControlShares()

```typescript
 /**
   * Get the minimum number of shares required to control the Collective Portrait.
   *
   * @remarks
   * The minimum number of shares required to control the Collective Portrait is the number of shares that a shareholder must have to be able to control the Collective Portrait.
   * Control of the Collective Portrait is defined as being able to change the Collective Portrait's hash, minimum control shares, and share split.
   *
   * @param {CollectivePortraitName | number} identity - The name of the Collective Portrait that the user would like to get the minimum number of shares required to control for.
   * @returns {number} - The minimum number of shares required to control the Collective Portrait.
   * @beta
   * @async
   */
  getMinimumControlShares(identity: CollectivePortraitName | number): number {
    const id =
      typeof identity === 'number' ? this.getNameByTokenId(identity) : identity;

    return this.portrait.portraitCollectiveContract.getMinimumControlShares(id);
  }
```
