Claims

Handles all Claims related functionality

Hierarchy

  • Claims

Index

Methods

Methods

addClaims

addClaims(args: Pick‹ModifyClaimsParams, "claims"›, opts?: ProcedureOpts): Promise‹TransactionQueue‹void››

Defined in src/Claims.ts:130

Add claims to Identities

note required roles:

  • Customer Due Diligence Provider: if there is at least one CDD claim in the arguments

note this method is of type ProcedureMethod, which means you can call addClaims.checkAuthorization on it to see whether the signing Account and Identity have the required roles and permissions to run it

Parameters:

Returns: Promise‹TransactionQueue‹void››


addInvestorUniquenessClaim

addInvestorUniquenessClaim(args: AddInvestorUniquenessClaimParams, opts?: ProcedureOpts): Promise‹TransactionQueue‹void››

Defined in src/Claims.ts:117

Add an Investor Uniqueness Claim to the signing Identity

note this method is of type ProcedureMethod, which means you can call addInvestorUniquenessClaim.checkAuthorization on it to see whether the signing Account and Identity have the required roles and permissions to run it

Parameters:

Returns: Promise‹TransactionQueue‹void››


editClaims

editClaims(args: Pick‹ModifyClaimsParams, "claims"›, opts?: ProcedureOpts): Promise‹TransactionQueue‹void››

Defined in src/Claims.ts:143

Edit claims associated to Identities (only the expiry date can be modified)

note required roles:

  • Customer Due Diligence Provider: if there is at least one CDD claim in the arguments

note this method is of type ProcedureMethod, which means you can call editClaims.checkAuthorization on it to see whether the signing Account and Identity have the required roles and permissions to run it

Parameters:

Returns: Promise‹TransactionQueue‹void››


getCddClaims

getCddClaims(opts: object): Promise‹ClaimDataCddClaim›[]›

Defined in src/Claims.ts:437

Retrieve the list of CDD claims for a target Identity

Parameters:

Default value opts: object= {}

Returns: Promise‹ClaimDataCddClaim›[]›


getClaimScopes

getClaimScopes(opts: object): Promise‹ClaimScope[]›

Defined in src/Claims.ts:387

Retrieve all scopes in which claims have been made for the target Identity. If the scope is an asset DID, the corresponding ticker is returned as well

Parameters:

Default value opts: object= {}

Returns: Promise‹ClaimScope[]›


getIdentitiesWithClaims

getIdentitiesWithClaims(opts: object): Promise‹ResultSetIdentityWithClaims››

Defined in src/Claims.ts:234

Retrieve a list of Identities with claims associated to them. Can be filtered using parameters

note supports pagination

note uses the middleware

Parameters:

Default value opts: object= {}

Returns: Promise‹ResultSetIdentityWithClaims››


getIdentitiesWithClaimsV2

getIdentitiesWithClaimsV2(opts: object): Promise‹ResultSetIdentityWithClaims››

Defined in src/Claims.ts:302

Retrieve a list of Identities with claims associated to them. Can be filtered using parameters

note supports pagination

note uses the middleware V2

Parameters:

Default value opts: object= {}

Returns: Promise‹ResultSetIdentityWithClaims››


getInvestorUniquenessClaims

getInvestorUniquenessClaims(opts: object): Promise‹ClaimDataInvestorUniquenessClaim›[]›

Defined in src/Claims.ts:461

Retrieve the list of InvestorUniqueness claims for a target Identity

Parameters:

Default value opts: object= {}

Returns: Promise‹ClaimDataInvestorUniquenessClaim›[]›


getIssuedClaims

getIssuedClaims(opts: object): Promise‹ResultSetClaimData››

Defined in src/Claims.ts:169

Retrieve all claims issued by an Identity

note supports pagination

note uses the middleware

Parameters:

Default value opts: object= {}

Returns: Promise‹ResultSetClaimData››


getIssuedClaimsV2

getIssuedClaimsV2(opts: object): Promise‹ResultSetClaimData››

Defined in src/Claims.ts:199

Retrieve all claims issued by an Identity

note supports pagination

note uses the middlewareV2

Parameters:

Default value opts: object= {}

Returns: Promise‹ResultSetClaimData››


getTargetingClaims

getTargetingClaims(opts: object): Promise‹ResultSetIdentityWithClaims››

Defined in src/Claims.ts:488

Retrieve all claims issued about an Identity, grouped by claim issuer

note supports pagination

note uses the middleware (optional)

Parameters:

Default value opts: object= {}

Returns: Promise‹ResultSetIdentityWithClaims››


getTargetingClaimsV2

getTargetingClaimsV2(opts: object): Promise‹ResultSetIdentityWithClaims››

Defined in src/Claims.ts:581

Retrieve all claims issued about an Identity, grouped by claim issuer

note supports pagination

note uses the middlewareV2 (optional)

Parameters:

Default value opts: object= {}

Returns: Promise‹ResultSetIdentityWithClaims››


revokeClaims

revokeClaims(args: Pick‹ModifyClaimsParams, "claims"›, opts?: ProcedureOpts): Promise‹TransactionQueue‹void››

Defined in src/Claims.ts:156

Revoke claims from Identities

note required roles:

  • Customer Due Diligence Provider: if there is at least one CDD claim in the arguments

note this method is of type ProcedureMethod, which means you can call revokeClaims.checkAuthorization on it to see whether the signing Account and Identity have the required roles and permissions to run it

Parameters:

Returns: Promise‹TransactionQueue‹void››

Last updated