Polymesh SDK API Reference
beta
beta
  • Globals
  • Classes
    • Account
    • AccountManagement
    • Asset
    • AssetHolders
    • AssetPermissions
    • Assets
    • AuthorizationRequest
    • Authorizations
    • Checkpoint
    • CheckpointSchedule
    • Checkpoints
    • Claims
    • Compliance
    • CorporateAction
    • CorporateActionBase
    • CorporateActions
    • Count
    • CustomPermissionGroup
    • DefaultPortfolio
    • DefaultTrustedClaimIssuer
    • Distributions
    • DividendDistribution
    • Documents
    • Entity
    • Identities
    • Identity
    • IdentityAuthorizations
    • Instruction
    • Issuance
    • KnownPermissionGroup
    • Network
    • NumberedPortfolio
    • Offering
    • Offerings
    • Percentage
    • PermissionGroup
    • Permissions
    • Polymesh
    • PolymeshError
    • PolymeshTransaction
    • PolymeshTransactionBase
    • PolymeshTransactionBatch
    • Portfolio
    • Portfolios
    • Requirements
    • Schedules
    • Settlements
    • Subsidy
    • TickerReservation
    • TransactionQueue
    • TransferRestrictionBase
    • TransferRestrictions
    • TrustedClaimIssuers
    • Venue
  • Enums
  • Interfaces
Powered by GitBook
On this page
  • Hierarchy
  • Index
  • Properties
  • Methods
  • Properties
  • asset
  • assetPermissions
  • authorizations
  • Protected context
  • did
  • portfolios
  • uuid
  • Methods
  • addedAt
  • addedAtV2
  • areSecondaryAccountsFrozen
  • checkRoles
  • exists
  • getAssetBalance
  • getHeldAssets
  • getHeldAssetsV2
  • getInstructions
  • getPendingDistributions
  • getPendingInstructions
  • getPrimaryAccount
  • getScopeId
  • getSecondaryAccounts
  • getTrustingAssets
  • getTrustingAssetsV2
  • getVenues
  • hasRole
  • hasRoles
  • hasValidCdd
  • isCddProvider
  • isEqual
  • isGcMember
  • toHuman
  • trustedFor
  • Static generateUuid
  • Static unserialize

Was this helpful?

  1. Classes

DefaultTrustedClaimIssuer

PreviousDefaultPortfolioNextDistributions

Last updated 2 years ago

Was this helpful?

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

Hierarchy

↳

↳ DefaultTrustedClaimIssuer

Index

Properties

Methods

Properties

asset

Asset for which this Identity is a Default Trusted Claim Issuer


assetPermissions


authorizations


Protected context

• context: Context


did

• did: string

Identity ID as stored in the blockchain


portfolios


uuid

• uuid: string

Methods

addedAt

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


addedAtV2

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 middlewareV2

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


areSecondaryAccountsFrozen

▸ areSecondaryAccountsFrozen(): Promise‹boolean›

Check whether secondary Accounts are frozen

note can be subscribed to

Returns: Promise‹boolean›

Parameters:

Name
Type

callback


checkRoles

Check whether this Identity possesses all specified roles

Parameters:

Name
Type

roles


exists

▸ exists(): Promise‹boolean›

Determine whether this Identity exists on chain

Returns: Promise‹boolean›


getAssetBalance

▸ getAssetBalance(args: object): Promise‹BigNumber›

Retrieve the balance of a particular Asset

note can be subscribed to

Parameters:

â–ª args: object

Name
Type

ticker

string

Returns: Promise‹BigNumber›

Parameters:

â–ª args: object

Name
Type

ticker

string


getHeldAssets

Retrieve a list of all Assets 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?

BigNumber

start?

BigNumber


getHeldAssetsV2

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

note uses the middlewareV2

note supports pagination

Parameters:

â–ªDefault value opts: object= {}

Name
Type

order?

AssetHoldersOrderBy

size?

BigNumber

start?

BigNumber


getInstructions

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


getPendingDistributions

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 Assets this Identity has held


getPendingInstructions

Retrieve all pending Instructions involving this Identity

deprecated in favor of getInstructions


getPrimaryAccount

Retrieve the primary Account associated with the Identity

note can be subscribed to

Parameters:

Name
Type

callback


getScopeId

▸ getScopeId(args: object): Promise‹string | null›

Retrieve the Scope ID associated to this Identity's Investor Uniqueness Claim for a specific Asset, or null if there is none

Parameters:

â–ª args: object

Name
Type

asset

Returns: Promise‹string | null›


getSecondaryAccounts

Get the list of secondary Accounts related to the Identity

note can be subscribed to

Parameters:

Name
Type

callback


getTrustingAssets

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

note uses the middleware


getTrustingAssetsV2

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

note uses the middlewareV2


getVenues

Retrieve all Venues created by this Identity

note can be subscribed to

Parameters:

Name
Type

callback


hasRole

Check whether this Identity possesses the specified Role

Parameters:

Name
Type

role

Returns: Promise‹boolean›


hasRoles

Check whether this Identity possesses all specified roles

deprecated in favor of checkRoles

Parameters:

Name
Type

roles

Returns: Promise‹boolean›


hasValidCdd

▸ hasValidCdd(): Promise‹boolean›

Check whether this Identity has a valid CDD claim

Returns: Promise‹boolean›


isCddProvider

▸ isCddProvider(): Promise‹boolean›

Check whether this Identity is a CDD provider

Returns: Promise‹boolean›


isEqual

Determine whether this Entity is the same as another one

Parameters:

Name
Type

entity

Returns: boolean


isGcMember

▸ isGcMember(): Promise‹boolean›

Check whether this Identity is Governance Committee member

Returns: Promise‹boolean›


toHuman

â–¸ toHuman(): string

Return the Identity's DID

Returns: string


trustedFor

Retrieve claim types for which this Claim Issuer is trusted. A null value means that the issuer is trusted for all claim types


Static generateUuid

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

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

Unserialize a UUID into its Unique Identifiers

Type parameters:

â–ª Identifiers

Parameters:

Name
Type
Description

serialized

string

UUID to unserialize

Returns: Identifiers

• asset:

Defined in

• assetPermissions:

Inherited from .

Defined in

• authorizations:

Inherited from .

Defined in

Inherited from .

Defined in

Inherited from .

Defined in

• portfolios:

Inherited from .

Defined in

Inherited from .

Defined in

▸ addedAt(): Promise‹ | null›

Defined in

Returns: Promise‹ | null›

▸ addedAtV2(): Promise‹ | null›

Defined in

Returns: Promise‹ | null›

Inherited from .

Defined in

▸ areSecondaryAccountsFrozen(callback: ‹boolean›): Promise‹›

Inherited from .

Defined in

‹boolean›

Returns: Promise‹›

▸ checkRoles(roles: []): Promise‹›

Inherited from .

Defined in

[]

Returns: Promise‹›

Inherited from .

Overrides .

Defined in

Inherited from .

Defined in

▸ getAssetBalance(args: object, callback: ‹BigNumber›): Promise‹›

Inherited from .

Defined in

▪ callback: ‹BigNumber›

Returns: Promise‹›

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

Inherited from .

Defined in

Returns: Promise‹‹››

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

Inherited from .

Defined in

Returns: Promise‹‹››

▸ getInstructions(): Promise‹›

Inherited from .

Defined in

Returns: Promise‹›

▸ getPendingDistributions(): Promise‹[]›

Inherited from .

Defined in

Returns: Promise‹[]›

▸ getPendingInstructions(): Promise‹[]›

Inherited from .

Defined in

Returns: Promise‹[]›

▸ getPrimaryAccount(): Promise‹›

Inherited from .

Defined in

Returns: Promise‹›

▸ getPrimaryAccount(callback: ‹›): Promise‹›

Inherited from .

Defined in

‹›

Returns: Promise‹›

Inherited from .

Defined in

note more on Investor Uniqueness and

| string

▸ getSecondaryAccounts(): Promise‹[]›

Inherited from .

Defined in

Returns: Promise‹[]›

▸ getSecondaryAccounts(callback: ‹[]›): Promise‹›

Inherited from .

Defined in

‹[]›

Returns: Promise‹›

▸ getTrustingAssets(): Promise‹[]›

Inherited from .

Defined in

Returns: Promise‹[]›

▸ getTrustingAssetsV2(): Promise‹[]›

Inherited from .

Defined in

Returns: Promise‹[]›

▸ getVenues(): Promise‹[]›

Inherited from .

Defined in

Returns: Promise‹[]›

▸ getVenues(callback: ‹[]›): Promise‹›

Inherited from .

Defined in

‹[]›

Returns: Promise‹›

▸ hasRole(role: ): Promise‹boolean›

Inherited from .

Defined in

▸ hasRoles(roles: []): Promise‹boolean›

Inherited from .

Defined in

[]

Inherited from .

Defined in

Inherited from .

Defined in

▸ isEqual(entity: ‹unknown, unknown›): boolean

Inherited from .

Defined in

‹unknown, unknown›

Inherited from .

Defined in

Inherited from .

Overrides .

Defined in

▸ trustedFor(): Promise‹[] | null›

Defined in

Returns: Promise‹[] | null›

Inherited from .

Defined in

Inherited from .

Defined in

Asset
src/api/entities/DefaultTrustedClaimIssuer.ts:39
AssetPermissions
src/api/entities/Identity/index.ts:96
IdentityAuthorizations
src/api/entities/Identity/index.ts:94
src/api/entities/Entity.ts:48
src/api/entities/Identity/index.ts:91
Portfolios
src/api/entities/Identity/index.ts:95
src/api/entities/Entity.ts:46
EventIdentifier
src/api/entities/DefaultTrustedClaimIssuer.ts:58
EventIdentifier
EventIdentifier
src/api/entities/DefaultTrustedClaimIssuer.ts:83
EventIdentifier
src/api/entities/Identity/index.ts:649
src/api/entities/Identity/index.ts:650
src/api/entities/Identity/index.ts:398
CheckRolesResult
src/api/entities/Identity/index.ts:779
src/api/entities/Identity/index.ts:163
src/api/entities/Identity/index.ts:164
ResultSet
Asset
src/api/entities/Identity/index.ts:311
ResultSet
Asset
ResultSet
Asset
src/api/entities/Identity/index.ts:356
ResultSet
Asset
GroupedInstructions
src/api/entities/Identity/index.ts:527
GroupedInstructions
DistributionWithDetails
src/api/entities/Identity/index.ts:686
DistributionWithDetails
Instruction
src/api/entities/Identity/index.ts:596
Instruction
PermissionedAccount
src/api/entities/Identity/index.ts:264
PermissionedAccount
src/api/entities/Identity/index.ts:265
src/api/entities/Identity/index.ts:505
here
here
PermissionedAccount
src/api/entities/Identity/index.ts:740
PermissionedAccount
src/api/entities/Identity/index.ts:741
Asset
src/api/entities/Identity/index.ts:433
Asset
Asset
src/api/entities/Identity/index.ts:450
Asset
Venue
src/api/entities/Identity/index.ts:469
Venue
src/api/entities/Identity/index.ts:470
src/api/entities/Identity/index.ts:115
src/api/entities/Identity/index.ts:422
src/api/entities/Identity/index.ts:212
src/api/entities/Identity/index.ts:245
Entity
src/api/entities/Entity.ts:61
src/api/entities/Identity/index.ts:228
src/api/entities/Identity/index.ts:792
ClaimType
src/api/entities/DefaultTrustedClaimIssuer.ts:109
ClaimType
src/api/entities/Entity.ts:14
src/api/entities/Entity.ts:23
Identity
asset
assetPermissions
authorizations
context
did
portfolios
uuid
addedAt
addedAtV2
areSecondaryAccountsFrozen
checkRoles
exists
getAssetBalance
getHeldAssets
getHeldAssetsV2
getInstructions
getPendingDistributions
getPendingInstructions
getPrimaryAccount
getScopeId
getSecondaryAccounts
getTrustingAssets
getTrustingAssetsV2
getVenues
hasRole
hasRoles
hasValidCdd
isCddProvider
isEqual
isGcMember
toHuman
trustedFor
generateUuid
unserialize
Asset
Entity
Identity
Identity
CheckpointSchedule
Identity
Identity
CheckpointSchedule
Identity
Identity
CheckRolesResult
Identity
Identity
Entity
Identity
Identity
Identity
Identity
Identity
Identity
Identity
Identity
PermissionedAccount
Identity
Identity
Identity
PermissionedAccount
Identity
Identity
Identity
Identity
Venue
Identity
Identity
Identity
Identity
Identity
CheckpointSchedule
Identity
Identity
Entity
CheckpointSchedule
CheckpointSchedule
PermissionedAccount
PermissionedAccount
Venue
exists
toHuman
context
uuid
isEqual
generateUuid
unserialize
assetPermissions
authorizations
did
portfolios
areSecondaryAccountsFrozen
areSecondaryAccountsFrozen
checkRoles
exists
getAssetBalance
getAssetBalance
getHeldAssets
getHeldAssetsV2
getInstructions
getPendingDistributions
getPendingInstructions
getPrimaryAccount
getPrimaryAccount
getScopeId
getSecondaryAccounts
getSecondaryAccounts
getTrustingAssets
getTrustingAssetsV2
getVenues
getVenues
hasRole
hasRoles
hasValidCdd
isCddProvider
isGcMember
toHuman
SubCallback
UnsubCallback
UnsubCallback
Role
SubCallback
UnsubCallback
SubCallback
UnsubCallback
SubCallback
UnsubCallback
UnsubCallback
SubCallback
UnsubCallback
UnsubCallback
SubCallback
UnsubCallback
UnsubCallback
Role
Role
SubCallback
Role
SubCallback
SubCallback
SubCallback
Role
Role