Polymesh SDK API Reference
v10.0.0
v10.0.0
  • Introduction
  • Globals
  • Classes
    • Account
    • AuthorizationRequest
    • Authorizations
    • Checkpoint
    • CheckpointSchedule
    • Checkpoints
    • Claims
    • Compliance
    • Context
    • CorporateAction
    • CorporateActions
    • Count
    • 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
    • TokenPermissions
    • 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
    • FeesBreakdown
    • GroupedInstructions
    • HistoricAgentOperation
    • HistoricSettlement
    • HumanReadable
    • IdentityBalance
    • IdentityRole
    • 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
    • SetGroupPermissionsParams
    • SetPercentageTransferRestrictionsParams
    • SetPermissionGroupParams
    • SetTokenDocumentsParams
    • SettlementLeg
    • SignerValue
    • SimpleEnumTransactionArgument
    • SimplePermissions
    • StoDetails
    • StoStatus
    • StoTier
    • StoWithDetails
    • Subsidy
    • TaxWithholding
    • ThirdPartyFees
    • TickerOwnerRole
    • TickerReservationDetails
    • Tier
    • ToggleFreezeSecondaryKeysParams
    • ToggleFreezeStoParams
    • ToggleFreezeTransfersParams
    • TogglePauseRequirementsParams
    • TokenBase
    • TokenDocument
    • TokenIdentifier
    • TokenWithGroup
    • TransactionPermissions
    • TransactionsParams
    • TransferBreakdown
    • TransferPolyxParams
    • TransferRestriction
    • TransferRestrictionInputBase
    • TransferRestrictionResult
    • TransferTickerOwnershipParams
    • TransferTokenOwnershipParams
    • TrustedClaimIssuer
    • TxGroupParams
    • UiKeyring
    • UniqueIdentifiers
    • VenueDetails
    • VenueOwnerRole
    • WaivePermissionsParams
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

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:125
ProcedureMethod
TransactionQueue
AddInvestorUniquenessClaimParams
ProcedureOpts
TransactionQueue
src/Claims.ts:112
ProcedureMethod
TransactionQueue
src/Claims.ts:138
ProcedureMethod
TransactionQueue
src/Claims.ts:308
ClaimScope
src/Claims.ts:258
ClaimScope
ResultSet
IdentityWithClaims
src/Claims.ts:199
ResultSet
IdentityWithClaims
src/Claims.ts:332
ResultSet
ClaimData
src/Claims.ts:164
ResultSet
ClaimData
ResultSet
IdentityWithClaims
src/Claims.ts:359
ResultSet
IdentityWithClaims
src/Claims.ts:151
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
InvestorUniquenessV2
Exclude
ModifyClaimsParams
ModifyClaimsParams
CddClaim
CddClaim
InvestorUniquenessClaim
InvestorUniquenessClaim
ModifyClaimsParams
ModifyClaimsParams
ModifyClaimsParams
ModifyClaimsParams