# DefaultTrustedClaimIssuer

Represents a default trusted claim issuer for a specific token in the Polymesh blockchain

## Hierarchy

↳ [Identity](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/identity)

↳ **DefaultTrustedClaimIssuer**

## Index

### Properties

* [authorizations](#authorizations)
* [context](#protected-context)
* [did](#did)
* [portfolios](#portfolios)
* [ticker](#ticker)
* [tokenPermissions](#tokenpermissions)
* [trustedFor](#optional-trustedfor)
* [uuid](#uuid)

### Methods

* [addedAt](#addedat)
* [areSecondaryKeysFrozen](#aresecondarykeysfrozen)
* [createVenue](#createvenue)
* [freezeSecondaryKeys](#freezesecondarykeys)
* [getHeldTokens](#getheldtokens)
* [getInstructions](#getinstructions)
* [getPendingDistributions](#getpendingdistributions)
* [getPendingInstructions](#getpendinginstructions)
* [getPrimaryKey](#getprimarykey)
* [getScopeId](#getscopeid)
* [getSecondaryKeys](#getsecondarykeys)
* [getTokenBalance](#gettokenbalance)
* [getTrustingTokens](#gettrustingtokens)
* [getVenues](#getvenues)
* [hasRole](#hasrole)
* [hasRoles](#hasroles)
* [hasValidCdd](#hasvalidcdd)
* [inviteAccount](#inviteaccount)
* [isCddProvider](#iscddprovider)
* [isEqual](#isequal)
* [isGcMember](#isgcmember)
* [modifyPermissions](#modifypermissions)
* [removeSecondaryKeys](#removesecondarykeys)
* [revokePermissions](#revokepermissions)
* [toJson](#tojson)
* [unfreezeSecondaryKeys](#unfreezesecondarykeys)
* [generateUuid](#static-generateuuid)
* [unserialize](#static-unserialize)

## Properties

### authorizations

• **authorizations**: [*IdentityAuthorizations*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/identityauthorizations)

*Inherited from* [*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/identity)*.*[*authorizations*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/identity#authorizations)

*Defined in* [*src/api/entities/Identity/index.ts:108*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/Identity/index.ts#L108)

### `Protected` context

• **context**: [*Context*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/context)

*Inherited from* [*Entity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/entity)*.*[*context*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/entity#protected-context)

*Defined in* [*src/api/entities/Entity.ts:48*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/Entity.ts#L48)

### did

• **did**: *string*

*Inherited from* [*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/identity)*.*[*did*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/identity#did)

*Defined in* [*src/api/entities/Identity/index.ts:105*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/Identity/index.ts#L105)

identity ID as stored in the blockchain

### portfolios

• **portfolios**: [*Portfolios*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/portfolios)

*Inherited from* [*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/identity)*.*[*portfolios*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/identity#portfolios)

*Defined in* [*src/api/entities/Identity/index.ts:109*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/Identity/index.ts#L109)

### ticker

• **ticker**: *string*

*Defined in* [*src/api/entities/DefaultTrustedClaimIssuer.ts:40*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/DefaultTrustedClaimIssuer.ts#L40)

ticker of the Security Token

### tokenPermissions

• **tokenPermissions**: [*TokenPermissions*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/tokenpermissions)

*Inherited from* [*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/identity)*.*[*tokenPermissions*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/identity#tokenpermissions)

*Defined in* [*src/api/entities/Identity/index.ts:110*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/Identity/index.ts#L110)

### `Optional` trustedFor

• **trustedFor**? : [*ClaimType*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/enums/claimtype)*\[]*

*Defined in* [*src/api/entities/DefaultTrustedClaimIssuer.ts:35*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/DefaultTrustedClaimIssuer.ts#L35)

claim types for which this Claim Issuer is trusted. An undefined value means that the issuer is trusted for all claim types

### uuid

• **uuid**: *string*

*Inherited from* [*Entity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/entity)*.*[*uuid*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/entity#uuid)

*Defined in* [*src/api/entities/Entity.ts:46*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/Entity.ts#L46)

## Methods

### addedAt

▸ **addedAt**(): *Promise‹*[*EventIdentifier*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/eventidentifier) *| null›*

*Defined in* [*src/api/entities/DefaultTrustedClaimIssuer.ts:60*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/DefaultTrustedClaimIssuer.ts#L60)

Retrieve the identifier data (block number, date and event index) of the event that was emitted when the trusted claim issuer was added

**`note`** uses the middleware

**`note`** there is a possibility that the data is not ready by the time it is requested. In that case, `null` is returned

**Returns:** *Promise‹*[*EventIdentifier*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/eventidentifier) *| null›*

### areSecondaryKeysFrozen

▸ **areSecondaryKeysFrozen**(): *Promise‹boolean›*

*Inherited from* [*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/identity)*.*[*areSecondaryKeysFrozen*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/identity#aresecondarykeysfrozen)

*Defined in* [*src/api/entities/Identity/index.ts:682*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/Identity/index.ts#L682)

Check whether secondary keys are frozen

**`note`** can be subscribed to

**Returns:** *Promise‹boolean›*

▸ **areSecondaryKeysFrozen**(`callback`: [SubCallback](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/globals#subcallback)‹boolean›): *Promise‹*[*UnsubCallback*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/globals#unsubcallback)*›*

*Inherited from* [*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/identity)*.*[*areSecondaryKeysFrozen*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/identity#aresecondarykeysfrozen)

*Defined in* [*src/api/entities/Identity/index.ts:683*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/Identity/index.ts#L683)

**Parameters:**

| Name       | Type                                                                                                               |
| ---------- | ------------------------------------------------------------------------------------------------------------------ |
| `callback` | [SubCallback](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/globals#subcallback)‹boolean› |

**Returns:** *Promise‹*[*UnsubCallback*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/globals#unsubcallback)*›*

### createVenue

▸ **createVenue**(`args`: [CreateVenueParams](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/createvenueparams), `opts?`: [ProcedureOpts](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/procedureopts)): *Promise‹*[*TransactionQueue*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/transactionqueue)*‹*[*Venue*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/venue)*››*

*Inherited from* [*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/identity)*.*[*createVenue*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/identity#createvenue)

*Defined in* [*src/api/entities/Identity/index.ts:224*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/Identity/index.ts#L224)

Create a Venue

**`note`** this method is of type [ProcedureMethod](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/proceduremethod), which means you can call `createVenue.checkAuthorization` on it to see whether the Current Account has the required permissions to run it

**Parameters:**

| Name    | Type                                                                                                                     |
| ------- | ------------------------------------------------------------------------------------------------------------------------ |
| `args`  | [CreateVenueParams](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/createvenueparams) |
| `opts?` | [ProcedureOpts](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/procedureopts)         |

**Returns:** *Promise‹*[*TransactionQueue*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/transactionqueue)*‹*[*Venue*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/venue)*››*

### freezeSecondaryKeys

▸ **freezeSecondaryKeys**(`args`: void, `opts?`: [ProcedureOpts](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/procedureopts)): *Promise‹*[*TransactionQueue*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/transactionqueue)*‹void››*

*Inherited from* [*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/identity)*.*[*freezeSecondaryKeys*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/identity#freezesecondarykeys)

*Defined in* [*src/api/entities/Identity/index.ts:234*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/Identity/index.ts#L234)

Freeze all the secondary keys in this Identity. This means revoking their permission to perform any operation on the blockchain and freezing their funds until the keys are unfrozen via [unfreezeSecondaryKeys](#unfreezesecondarykeys)

**`note`** this method is of type [ProcedureMethod](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/proceduremethod), which means you can call `freezeSecondaryKeys.checkAuthorization` on it to see whether the Current Account has the required permissions to run it

**Parameters:**

| Name    | Type                                                                                                             |
| ------- | ---------------------------------------------------------------------------------------------------------------- |
| `args`  | void                                                                                                             |
| `opts?` | [ProcedureOpts](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/procedureopts) |

**Returns:** *Promise‹*[*TransactionQueue*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/transactionqueue)*‹void››*

### getHeldTokens

▸ **getHeldTokens**(`opts`: object): *Promise‹*[*ResultSet*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/resultset)*‹*[*SecurityToken*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/securitytoken)*››*

*Inherited from* [*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/identity)*.*[*getHeldTokens*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/identity#getheldtokens)

*Defined in* [*src/api/entities/Identity/index.ts:434*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/Identity/index.ts#L434)

Retrieve a list of all tokens which were held at one point by this Identity

**`note`** uses the middleware

**`note`** supports pagination

**Parameters:**

▪`Default value` **opts**: *object*= { order: Order.Asc }

| Name     | Type                |
| -------- | ------------------- |
| `order?` | Order               |
| `size?`  | undefined \| number |
| `start?` | undefined \| number |

**Returns:** *Promise‹*[*ResultSet*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/resultset)*‹*[*SecurityToken*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/securitytoken)*››*

### getInstructions

▸ **getInstructions**(): *Promise‹*[*GroupedInstructions*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/groupedinstructions)*›*

*Inherited from* [*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/identity)*.*[*getInstructions*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/identity#getinstructions)

*Defined in* [*src/api/entities/Identity/index.ts:558*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/Identity/index.ts#L558)

Retrieve all Instructions where this Identity is a participant, grouped by status

**Returns:** *Promise‹*[*GroupedInstructions*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/groupedinstructions)*›*

### getPendingDistributions

▸ **getPendingDistributions**(): *Promise‹*[*DistributionWithDetails*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/distributionwithdetails)*\[]›*

*Inherited from* [*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/identity)*.*[*getPendingDistributions*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/identity#getpendingdistributions)

*Defined in* [*src/api/entities/Identity/index.ts:718*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/Identity/index.ts#L718)

Retrieve every Dividend Distribution for which this Identity is eligible and hasn't been paid

**`note`** uses the middleware

**`note`** this query can be potentially **SLOW** depending on which Tokens this Identity has held

**Returns:** *Promise‹*[*DistributionWithDetails*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/distributionwithdetails)*\[]›*

### getPendingInstructions

▸ **getPendingInstructions**(): *Promise‹*[*Instruction*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/instruction)*\[]›*

*Inherited from* [*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/identity)*.*[*getPendingInstructions*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/identity#getpendinginstructions)

*Defined in* [*src/api/entities/Identity/index.ts:631*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/Identity/index.ts#L631)

Retrieve all pending Instructions involving this Identity

**`deprecated`** in favor of `getInstructions`

**Returns:** *Promise‹*[*Instruction*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/instruction)*\[]›*

### getPrimaryKey

▸ **getPrimaryKey**(): *Promise‹string›*

*Inherited from* [*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/identity)*.*[*getPrimaryKey*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/identity#getprimarykey)

*Defined in* [*src/api/entities/Identity/index.ts:399*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/Identity/index.ts#L399)

Retrieve the primary key associated with the Identity

**`note`** can be subscribed to

**Returns:** *Promise‹string›*

▸ **getPrimaryKey**(`callback`: [SubCallback](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/globals#subcallback)‹string›): *Promise‹*[*UnsubCallback*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/globals#unsubcallback)*›*

*Inherited from* [*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/identity)*.*[*getPrimaryKey*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/identity#getprimarykey)

*Defined in* [*src/api/entities/Identity/index.ts:400*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/Identity/index.ts#L400)

**Parameters:**

| Name       | Type                                                                                                              |
| ---------- | ----------------------------------------------------------------------------------------------------------------- |
| `callback` | [SubCallback](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/globals#subcallback)‹string› |

**Returns:** *Promise‹*[*UnsubCallback*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/globals#unsubcallback)*›*

### getScopeId

▸ **getScopeId**(`args`: object): *Promise‹string›*

*Inherited from* [*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/identity)*.*[*getScopeId*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/identity#getscopeid)

*Defined in* [*src/api/entities/Identity/index.ts:540*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/Identity/index.ts#L540)

Retrieve the Scope ID associated to this Identity's Investor Uniqueness Claim for a specific Security Token

**`note`** more on Investor Uniqueness: <https://developers.polymesh.live/confidential_identity>

**Parameters:**

▪ **args**: *object*

| Name    | Type                                                                                                                    |
| ------- | ----------------------------------------------------------------------------------------------------------------------- |
| `token` | [SecurityToken](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/securitytoken) \| string |

**Returns:** *Promise‹string›*

### getSecondaryKeys

▸ **getSecondaryKeys**(): *Promise‹*[*SecondaryKey*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/secondarykey)*\[]›*

*Inherited from* [*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/identity)*.*[*getSecondaryKeys*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/identity#getsecondarykeys)

*Defined in* [*src/api/entities/Identity/index.ts:770*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/Identity/index.ts#L770)

Get the list of secondary keys related to the Identity

**`note`** can be subscribed to

**Returns:** *Promise‹*[*SecondaryKey*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/secondarykey)*\[]›*

▸ **getSecondaryKeys**(`callback`: [SubCallback](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/globals#subcallback)‹[SecondaryKey](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/secondarykey)\[]›): *Promise‹*[*UnsubCallback*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/globals#unsubcallback)*›*

*Inherited from* [*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/identity)*.*[*getSecondaryKeys*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/identity#getsecondarykeys)

*Defined in* [*src/api/entities/Identity/index.ts:771*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/Identity/index.ts#L771)

**Parameters:**

| Name       | Type                                                                                                                                                                                                                         |
| ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `callback` | [SubCallback](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/globals#subcallback)‹[SecondaryKey](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/secondarykey)\[]› |

**Returns:** *Promise‹*[*UnsubCallback*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/globals#unsubcallback)*›*

### getTokenBalance

▸ **getTokenBalance**(`args`: object): *Promise‹BigNumber›*

*Inherited from* [*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/identity)*.*[*getTokenBalance*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/identity#gettokenbalance)

*Defined in* [*src/api/entities/Identity/index.ts:299*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/Identity/index.ts#L299)

Retrieve the balance of a particular Security Token

**`note`** can be subscribed to

**Parameters:**

▪ **args**: *object*

| Name     | Type   |
| -------- | ------ |
| `ticker` | string |

**Returns:** *Promise‹BigNumber›*

▸ **getTokenBalance**(`args`: object, `callback`: [SubCallback](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/globals#subcallback)‹BigNumber›): *Promise‹*[*UnsubCallback*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/globals#unsubcallback)*›*

*Inherited from* [*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/identity)*.*[*getTokenBalance*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/identity#gettokenbalance)

*Defined in* [*src/api/entities/Identity/index.ts:300*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/Identity/index.ts#L300)

**Parameters:**

▪ **args**: *object*

| Name     | Type   |
| -------- | ------ |
| `ticker` | string |

▪ **callback**: [*SubCallback*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/globals#subcallback)*‹BigNumber›*

**Returns:** *Promise‹*[*UnsubCallback*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/globals#unsubcallback)*›*

### getTrustingTokens

▸ **getTrustingTokens**(`args`: object): *Promise‹*[*SecurityToken*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/securitytoken)*\[]›*

*Inherited from* [*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/identity)*.*[*getTrustingTokens*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/identity#gettrustingtokens)

*Defined in* [*src/api/entities/Identity/index.ts:485*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/Identity/index.ts#L485)

Get the list of tokens for which this Identity is a trusted claim issuer

**`note`** uses the middleware

**Parameters:**

▪`Default value` **args**: *object*= { order: Order.Asc }

| Name    | Type  |
| ------- | ----- |
| `order` | Order |

**Returns:** *Promise‹*[*SecurityToken*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/securitytoken)*\[]›*

### getVenues

▸ **getVenues**(): *Promise‹*[*Venue*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/venue)*\[]›*

*Inherited from* [*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/identity)*.*[*getVenues*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/identity#getvenues)

*Defined in* [*src/api/entities/Identity/index.ts:506*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/Identity/index.ts#L506)

Retrieve all Venues created by this Identity

**`note`** can be subscribed to

**Returns:** *Promise‹*[*Venue*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/venue)*\[]›*

▸ **getVenues**(`callback`: [SubCallback](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/globals#subcallback)‹[Venue](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/venue)\[]›): *Promise‹*[*UnsubCallback*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/globals#unsubcallback)*›*

*Inherited from* [*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/identity)*.*[*getVenues*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/identity#getvenues)

*Defined in* [*src/api/entities/Identity/index.ts:507*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/Identity/index.ts#L507)

**Parameters:**

| Name       | Type                                                                                                                                                                                                        |
| ---------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `callback` | [SubCallback](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/globals#subcallback)‹[Venue](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/venue)\[]› |

**Returns:** *Promise‹*[*UnsubCallback*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/globals#unsubcallback)*›*

### hasRole

▸ **hasRole**(`role`: [Role](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/globals#role)): *Promise‹boolean›*

*Inherited from* [*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/identity)*.*[*hasRole*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/identity#hasrole)

*Defined in* [*src/api/entities/Identity/index.ts:251*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/Identity/index.ts#L251)

Check whether this Identity possesses the specified Role

**Parameters:**

| Name   | Type                                                                                        |
| ------ | ------------------------------------------------------------------------------------------- |
| `role` | [Role](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/globals#role) |

**Returns:** *Promise‹boolean›*

### hasRoles

▸ **hasRoles**(`roles`: [Role](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/globals#role)\[]): *Promise‹boolean›*

*Inherited from* [*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/identity)*.*[*hasRoles*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/identity#hasroles)

*Defined in* [*src/api/entities/Identity/index.ts:474*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/Identity/index.ts#L474)

Check whether this Identity possesses all specified roles

**Parameters:**

| Name    | Type                                                                                           |
| ------- | ---------------------------------------------------------------------------------------------- |
| `roles` | [Role](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/globals#role)\[] |

**Returns:** *Promise‹boolean›*

### hasValidCdd

▸ **hasValidCdd**(): *Promise‹boolean›*

*Inherited from* [*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/identity)*.*[*hasValidCdd*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/identity#hasvalidcdd)

*Defined in* [*src/api/entities/Identity/index.ts:347*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/Identity/index.ts#L347)

Check whether this Identity has a valid CDD claim

**Returns:** *Promise‹boolean›*

### inviteAccount

▸ **inviteAccount**(`args`: [InviteAccountParams](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/inviteaccountparams), `opts?`: [ProcedureOpts](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/procedureopts)): *Promise‹*[*TransactionQueue*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/transactionqueue)*‹void››*

*Inherited from* [*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/identity)*.*[*inviteAccount*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/identity#inviteaccount)

*Defined in* [*src/api/entities/Identity/index.ts:214*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/Identity/index.ts#L214)

Send an invitation to an Account to join this Identity

**`note`** this may create AuthorizationRequest which have to be accepted by the corresponding Account. An Account or Identity can fetch its pending Authorization Requests by calling `authorizations.getReceived`

**`note`** this method is of type [ProcedureMethod](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/proceduremethod), which means you can call `inviteAccount.checkAuthorization` on it to see whether the Current Account has the required permissions to run it

**Parameters:**

| Name    | Type                                                                                                                         |
| ------- | ---------------------------------------------------------------------------------------------------------------------------- |
| `args`  | [InviteAccountParams](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/inviteaccountparams) |
| `opts?` | [ProcedureOpts](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/procedureopts)             |

**Returns:** *Promise‹*[*TransactionQueue*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/transactionqueue)*‹void››*

### isCddProvider

▸ **isCddProvider**(): *Promise‹boolean›*

*Inherited from* [*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/identity)*.*[*isCddProvider*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/identity#iscddprovider)

*Defined in* [*src/api/entities/Identity/index.ts:380*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/Identity/index.ts#L380)

Check whether this Identity is a CDD provider

**Returns:** *Promise‹boolean›*

### isEqual

▸ **isEqual**(`entity`: [Entity](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/entity)‹unknown, unknown›): *boolean*

*Inherited from* [*Entity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/entity)*.*[*isEqual*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/entity#isequal)

*Defined in* [*src/api/entities/Entity.ts:61*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/Entity.ts#L61)

Whether this Entity is the same as another one

**Parameters:**

| Name     | Type                                                                                                              |
| -------- | ----------------------------------------------------------------------------------------------------------------- |
| `entity` | [Entity](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/entity)‹unknown, unknown› |

**Returns:** *boolean*

### isGcMember

▸ **isGcMember**(): *Promise‹boolean›*

*Inherited from* [*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/identity)*.*[*isGcMember*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/identity#isgcmember)

*Defined in* [*src/api/entities/Identity/index.ts:363*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/Identity/index.ts#L363)

Check whether this Identity is Governance Committee member

**Returns:** *Promise‹boolean›*

### modifyPermissions

▸ **modifyPermissions**(`args`: [ModifySignerPermissionsParams](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/modifysignerpermissionsparams), `opts?`: [ProcedureOpts](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/procedureopts)): *Promise‹*[*TransactionQueue*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/transactionqueue)*‹void››*

*Inherited from* [*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/identity)*.*[*modifyPermissions*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/identity#modifypermissions)

*Defined in* [*src/api/entities/Identity/index.ts:200*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/Identity/index.ts#L200)

Modify all permissions of a list of secondary keys associated with the Identity

**`note`** this method is of type [ProcedureMethod](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/proceduremethod), which means you can call `modifyPermissions.checkAuthorization` on it to see whether the Current Account has the required permissions to run it

**Parameters:**

| Name    | Type                                                                                                                                             |
| ------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| `args`  | [ModifySignerPermissionsParams](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/modifysignerpermissionsparams) |
| `opts?` | [ProcedureOpts](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/procedureopts)                                 |

**Returns:** *Promise‹*[*TransactionQueue*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/transactionqueue)*‹void››*

### removeSecondaryKeys

▸ **removeSecondaryKeys**(`args`: [RemoveSecondaryKeysParams](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/removesecondarykeysparams), `opts?`: [ProcedureOpts](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/procedureopts)): *Promise‹*[*TransactionQueue*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/transactionqueue)*‹void››*

*Inherited from* [*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/identity)*.*[*removeSecondaryKeys*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/identity#removesecondarykeys)

*Defined in* [*src/api/entities/Identity/index.ts:180*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/Identity/index.ts#L180)

Remove a list of secondary keys associated with the Identity

**`note`** this method is of type [ProcedureMethod](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/proceduremethod), which means you can call `removeSecondaryKeys.checkAuthorization` on it to see whether the Current Account has the required permissions to run it

**Parameters:**

| Name    | Type                                                                                                                                     |
| ------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| `args`  | [RemoveSecondaryKeysParams](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/removesecondarykeysparams) |
| `opts?` | [ProcedureOpts](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/procedureopts)                         |

**Returns:** *Promise‹*[*TransactionQueue*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/transactionqueue)*‹void››*

### revokePermissions

▸ **revokePermissions**(`args`: object, `opts?`: [ProcedureOpts](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/procedureopts)): *Promise‹*[*TransactionQueue*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/transactionqueue)*‹void››*

*Inherited from* [*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/identity)*.*[*revokePermissions*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/identity#revokepermissions)

*Defined in* [*src/api/entities/Identity/index.ts:190*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/Identity/index.ts#L190)

Revoke all permissions of a list of secondary keys associated with the Identity

**`note`** this method is of type [ProcedureMethod](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/proceduremethod), which means you can call `revokePermissions.checkAuthorization` on it to see whether the Current Account has the required permissions to run it

**Parameters:**

▪ **args**: *object*

| Name            | Type                                                                                               |
| --------------- | -------------------------------------------------------------------------------------------------- |
| `secondaryKeys` | [Signer](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/globals#signer)\[] |

▪`Optional` **opts**: [*ProcedureOpts*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/procedureopts)

**Returns:** *Promise‹*[*TransactionQueue*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/transactionqueue)*‹void››*

### toJson

▸ **toJson**(): *string*

*Inherited from* [*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/identity)*.*[*toJson*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/identity#tojson)

*Overrides* [*Entity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/entity)*.*[*toJson*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/entity#abstract-tojson)

*Defined in* [*src/api/entities/Identity/index.ts:805*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/Identity/index.ts#L805)

Return the Identity's DID

**Returns:** *string*

### unfreezeSecondaryKeys

▸ **unfreezeSecondaryKeys**(`args`: void, `opts?`: [ProcedureOpts](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/procedureopts)): *Promise‹*[*TransactionQueue*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/transactionqueue)*‹void››*

*Inherited from* [*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/identity)*.*[*unfreezeSecondaryKeys*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/identity#unfreezesecondarykeys)

*Defined in* [*src/api/entities/Identity/index.ts:244*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/Identity/index.ts#L244)

Unfreeze all the secondary keys in this Identity. This will restore their permissions as they were before being frozen

**`note`** this method is of type [ProcedureMethod](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/proceduremethod), which means you can call `unfreezeSecondaryKeys.checkAuthorization` on it to see whether the Current Account has the required permissions to run it

**Parameters:**

| Name    | Type                                                                                                             |
| ------- | ---------------------------------------------------------------------------------------------------------------- |
| `args`  | void                                                                                                             |
| `opts?` | [ProcedureOpts](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/interfaces/procedureopts) |

**Returns:** *Promise‹*[*TransactionQueue*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/transactionqueue)*‹void››*

### `Static` generateUuid

▸ **generateUuid**‹**Identifiers**›(`identifiers`: Identifiers): *string*

*Inherited from* [*Entity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/entity)*.*[*generateUuid*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/entity#static-generateuuid)

*Defined in* [*src/api/entities/Entity.ts:14*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/Entity.ts#L14)

Generate the Entity's UUID from its identifying properties

**Type parameters:**

▪ **Identifiers**

**Parameters:**

| Name          | Type        | Description |
| ------------- | ----------- | ----------- |
| `identifiers` | Identifiers |             |

**Returns:** *string*

### `Static` unserialize

▸ **unserialize**‹**Identifiers**›(`serialized`: string): *Identifiers*

*Inherited from* [*Entity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/classes/entity)*.*[*unserialize*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v9/entity#static-unserialize)

*Defined in* [*src/api/entities/Entity.ts:23*](https://github.com/PolymathNetwork/polymesh-sdk/blob/56921667/src/api/entities/Entity.ts#L23)

Unserialize a UUID into its Unique Identifiers

**Type parameters:**

▪ **Identifiers**

**Parameters:**

| Name         | Type   | Description         |
| ------------ | ------ | ------------------- |
| `serialized` | string | UUID to unserialize |

**Returns:** *Identifiers*
