Polymesh SDK API Reference
v8.0.0
v8.0.0
  • Introduction
  • Globals
  • Classes
    • Account
    • Agent
    • AuthorizationRequest
    • Authorizations
    • Checkpoint
    • CheckpointSchedule
    • Checkpoints
    • Claims
    • Compliance
    • Context
    • CorporateAction
    • CorporateActions
    • Count
    • CurrentAccount
    • CurrentIdentity
    • CustomPermissionGroup
    • DefaultPortfolio
    • DefaultTrustedClaimIssuer
    • Distributions
    • DividendDistribution
    • Documents
    • Entity
    • Identity
    • IdentityAuthorizations
    • Instruction
    • Issuance
    • KnownPermissionGroup
    • Middleware
    • NumberedPortfolio
    • Offerings
    • Percentage
    • PermissionGroup
    • Permissions
    • Polymesh
    • PolymeshError
    • PolymeshTransaction
    • PolymeshTransactionBase
    • PolymeshTransactionBatch
    • Portfolio
    • Portfolios
    • Requirements
    • Schedules
    • SecurityToken
    • Settlements
    • Sto
    • TickerReservation
    • TokenHolders
    • TransactionQueue
    • TransferRestrictionBase
    • TransferRestrictions
    • TrustedClaimIssuers
    • Venue
  • Enums
    • AffirmationStatus
    • AuthorizationType
    • CalendarUnit
    • ClaimType
    • ConditionTarget
    • ConditionType
    • CorporateActionKind
    • CountryCode
    • ErrorCode
    • InstructionStatus
    • InstructionType
    • KnownTokenType
    • PermissionGroupType
    • PermissionType
    • ProposalStage
    • RoleType
    • ScopeType
    • SignerType
    • StoBalanceStatus
    • StoSaleStatus
    • StoTimingStatus
    • TargetTreatment
    • TickerReservationStatus
    • TokenIdentifierType
    • TransactionArgumentType
    • TransactionQueueStatus
    • TransactionStatus
    • TransferError
    • TransferRestrictionType
    • TransferStatus
    • TxGroup
    • VenueType
  • Interfaces
    • ActiveTransferRestrictions
    • AddBatchTransactionOpts
    • AddClaimsParams
    • AddInstructionParams
    • AddInstructionsParams
    • AddInvestorUniquenessClaimParams
    • AddPairBaseParams
    • AddTransactionOpts
    • AddTransactionOptsBase
    • AgentWithGroup
    • ArrayTransactionArgument
    • Balance
    • CalendarPeriod
    • CddProviderRole
    • CheckpointWithData
    • ClaimClassicTickerParams
    • ClaimData
    • ClaimScope
    • ClaimTarget
    • ComplexTransactionArgument
    • ConditionCompliance
    • ConnectParamsBase
    • ConstructorParams
    • ConsumeParams
    • ControllerTransferParams
    • CorporateActionDefaults
    • CorporateActionTargets
    • CountTransferRestriction
    • CountTransferRestrictionInput
    • CreateCheckpointScheduleParams
    • CreateGroupParams
    • CreateSecurityTokenParams
    • CreateVenueParams
    • DeletePortfolioParams
    • DistributionParticipant
    • DistributionPayment
    • DistributionWithDetails
    • DividendDistributionDetails
    • DividendDistributionParams
    • EditClaimsParams
    • EventIdentifier
    • ExtrinsicData
    • Fees
    • GroupedInstructions
    • HistoricSettlement
    • HumanReadable
    • IdentityBalance
    • IdentityWithClaims
    • InstructionAffirmation
    • InvestInStoParams
    • Investment
    • InviteAccountParams
    • InviteExternalAgentParams
    • IssueTokensParams
    • KeyringPair
    • LeaveIdentityParams
    • Leg
    • LinkCaDocsParams
    • MiddlewareConfig
    • ModifyCorporateActionsAgentParams
    • ModifyInstructionAffirmationParams
    • ModifyPrimaryIssuanceAgentParams
    • ModifySignerPermissionsParams
    • ModifyTokenTrustedClaimIssuersAddSetParams
    • ModifyTokenTrustedClaimIssuersRemoveParams
    • MoveFundsParams
    • NetworkProperties
    • PaginationOptions
    • PayDividendsParams
    • PercentageTransferRestriction
    • PercentageTransferRestrictionInput
    • PlainTransactionArgument
    • PortfolioBalance
    • PortfolioCustodianRole
    • PortfolioMovement
    • ProcedureAuthorizationStatus
    • ProcedureMethod
    • ProcedureOpts
    • ProposalDetails
    • ProposalTimeFrames
    • ProposalVote
    • RedeemTokenParams
    • RegisterIdentityParams
    • RemoveCheckpointScheduleParams
    • RemoveCorporateActionParams
    • RemoveExternalAgentParams
    • RemoveSecondaryKeysParams
    • RenamePortfolioParams
    • Requirement
    • RequirementCompliance
    • ReserveTickerParams
    • ResultSet
    • RevokeClaimsParams
    • ScheduleDetails
    • ScheduleWithDetails
    • Scope
    • SecondaryKey
    • SectionPermissions
    • SecurityTokenDetails
    • SetAssetRequirementsParams
    • SetCountTransferRestrictionsParams
    • SetCustodianParams
    • SetPercentageTransferRestrictionsParams
    • SetTokenDocumentsParams
    • SettlementLeg
    • SignerValue
    • SimpleEnumTransactionArgument
    • SimplePermissions
    • StoDetails
    • StoStatus
    • StoTier
    • StoWithDetails
    • TaxWithholding
    • TickerOwnerRole
    • TickerReservationDetails
    • Tier
    • ToggleFreezeSecondaryKeysParams
    • ToggleFreezeStoParams
    • ToggleFreezeTransfersParams
    • TogglePauseRequirementsParams
    • TokenDocument
    • TokenIdentifier
    • TransactionPermissions
    • TransferBreakdown
    • TransferPolyxParams
    • TransferRestriction
    • TransferRestrictionInputBase
    • TransferRestrictionResult
    • TransferTickerOwnershipParams
    • TransferTokenOwnershipParams
    • TrustedClaimIssuer
    • UiKeyring
    • UniqueIdentifiers
    • VenueDetails
    • VenueOwnerRole
Powered by GitBook
On this page
  • Hierarchy
  • Index
  • Methods
  • Methods
  • addClaims
  • addInvestorUniquenessClaim
  • editClaims
  • getCddClaims
  • getClaimScopes
  • getIdentitiesWithClaims
  • getInvestorUniquenessClaims
  • getIssuedClaims
  • getTargetingClaims
  • revokeClaims

Was this helpful?

  1. Classes

Claims

PreviousCheckpointsNextCompliance

Last updated 3 years ago

Was this helpful?

Handles all Claims related functionality

Hierarchy

  • Claims

Index

Methods

Methods

addClaims

Add claims to Identities

note required roles:

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

Parameters:

Name

Type

args

opts?

addInvestorUniquenessClaim

Add an Investor Uniqueness Claim to the current Identity

Parameters:

Name

Type

Description

args

opts?

-

editClaims

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

Parameters:

Name

Type

args

opts?

getCddClaims

Retrieve the list of CDD claims for a target Identity

Parameters:

â–ªDefault value opts: object= {}

Name

Type

Description

includeExpired?

undefined | false | true

whether to include expired claims. Defaults to true

target?

identity for which to fetch CDD claims (optional, defaults to the current Identity)

getClaimScopes

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= {}

Name

Type

Description

target?

identity for which to fetch claim scopes (optional, defaults to the current Identity)

getIdentitiesWithClaims

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= {}

Name

Type

Description

claimTypes?

types of the claims to fetch. Defaults to any type

includeExpired?

undefined | false | true

whether to include expired claims. Defaults to true

scope?

scope of the claims to fetch. Defaults to any scope

size?

undefined | number

page size

start?

undefined | number

page offset

targets?

identities (or Identity IDs) for which to fetch claims (targets). Defaults to all targets

trustedClaimIssuers?

identity IDs of claim issuers. Defaults to all claim issuers

getInvestorUniquenessClaims

Retrieve the list of InvestorUniqueness claims for a target Identity

Parameters:

â–ªDefault value opts: object= {}

Name

Type

Description

includeExpired?

undefined | false | true

whether to include expired claims. Defaults to true

target?

identity for which to fetch CDD claims (optional, defaults to the current Identity)

getIssuedClaims

Retrieve all claims issued by an Identity

note supports pagination

note uses the middleware

Parameters:

â–ªDefault value opts: object= {}

Name

Type

Description

includeExpired?

undefined | false | true

whether to include expired claims. Defaults to true

size?

undefined | number

-

start?

undefined | number

-

target?

identity (optional, defaults to the current Identity)

getTargetingClaims

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

note supports pagination

note uses the middleware (optional)

Parameters:

â–ªDefault value opts: object= {}

Name

Type

Description

includeExpired?

undefined | false | true

whether to include expired claims. Defaults to true

scope?

-

size?

undefined | number

-

start?

undefined | number

-

target?

identity for which to fetch targeting claims (optional, defaults to the current Identity)

trustedClaimIssuers?

-

revokeClaims

Revoke claims from Identities

note required roles:

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

Parameters:

Name

Type

args

opts?

▸ addClaims(args: Pick‹, "claims"›, opts?: ): Promise‹‹void››

Defined in

note this method is of type , which means you can call addClaims.checkAuthorization on it to see whether the Current Account has the required permissions to run it

Pick‹, "claims"›

Returns: Promise‹‹void››

▸ addInvestorUniquenessClaim(args: , opts?: ): Promise‹‹void››

Defined in

note this method is of type , which means you can call addInvestorUniquenessClaim.checkAuthorization on it to see whether the Current Account has the required permissions to run it

Returns: Promise‹‹void››

▸ editClaims(args: Pick‹, "claims"›, opts?: ): Promise‹‹void››

Defined in

note this method is of type , which means you can call editClaims.checkAuthorization on it to see whether the Current Account has the required permissions to run it

Pick‹, "claims"›

Returns: Promise‹‹void››

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

Defined in

string |

Returns: Promise‹‹›[]›

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

Defined in

string |

Returns: Promise‹[]›

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

Defined in

‹, ›[]

(string | ‹›)[]

(string | ‹›)[]

Returns: Promise‹‹››

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

Defined in

string |

Returns: Promise‹‹›[]›

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

Defined in

string |

Returns: Promise‹‹››

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

Defined in

string |

(string | ‹›)[]

Returns: Promise‹‹››

▸ revokeClaims(args: Pick‹, "claims"›, opts?: ): Promise‹‹void››

Defined in

note this method is of type , which means you can call revokeClaims.checkAuthorization on it to see whether the Current Account has the required permissions to run it

Pick‹, "claims"›

Returns: Promise‹‹void››

src/Claims.ts:127
ProcedureMethod
TransactionQueue
AddInvestorUniquenessClaimParams
ProcedureOpts
TransactionQueue
src/Claims.ts:114
ProcedureMethod
TransactionQueue
src/Claims.ts:140
ProcedureMethod
TransactionQueue
src/Claims.ts:310
ClaimScope
src/Claims.ts:260
ClaimScope
ResultSet
IdentityWithClaims
src/Claims.ts:201
ResultSet
IdentityWithClaims
src/Claims.ts:334
ResultSet
ClaimData
src/Claims.ts:166
ResultSet
ClaimData
ResultSet
IdentityWithClaims
src/Claims.ts:361
ResultSet
IdentityWithClaims
src/Claims.ts:153
ProcedureMethod
TransactionQueue
addClaims
addInvestorUniquenessClaim
editClaims
getCddClaims
getClaimScopes
getIdentitiesWithClaims
getInvestorUniquenessClaims
getIssuedClaims
getTargetingClaims
revokeClaims
ProcedureOpts
AddInvestorUniquenessClaimParams
ProcedureOpts
ProcedureOpts
Identity
Identity
Scope
Identity
Identity
Identity
Identity
Scope
Identity
Identity
ProcedureOpts
ProcedureOpts
TransactionQueue
ProcedureOpts
TransactionQueue
ClaimData
ClaimData
ClaimData
ClaimData
ProcedureOpts
TransactionQueue
ClaimType
Exclude
InvestorUniquenessV2
ModifyClaimsParams
ModifyClaimsParams
CddClaim
CddClaim
InvestorUniquenessClaim
InvestorUniquenessClaim
ModifyClaimsParams
ModifyClaimsParams
ModifyClaimsParams
ModifyClaimsParams