-
Notifications
You must be signed in to change notification settings - Fork 11
api.entities.Asset.Compliance.TrustedClaimIssuers.TrustedClaimIssuers
api/entities/Asset/Compliance/TrustedClaimIssuers.TrustedClaimIssuers
Handles all Asset Default Trusted Claim Issuers related functionality
-
Namespace
<Asset
>↳
TrustedClaimIssuers
▸ add(args
, opts?
): Promise
<GenericPolymeshTransaction
<Asset
, Asset
>>
Add the supplied Identities to the Asset's list of trusted claim issuers
Note
this method is of type ProcedureMethod, which means you can call add.checkAuthorization on it to see whether the signing Account and Identity have the required roles and permissions to run it
Name | Type |
---|---|
args |
ModifyAssetTrustedClaimIssuersAddSetParams |
opts? |
ProcedureOpts |
Promise
<GenericPolymeshTransaction
<Asset
, Asset
>>
▸ get(): Promise
<TrustedClaimIssuer
<true
>[]>
Retrieve the current Default Trusted Claim Issuers of the Asset
Note
can be subscribed to
Promise
<TrustedClaimIssuer
<true
>[]>
▸ get(callback
): Promise
<UnsubCallback
>
Name | Type |
---|---|
callback |
SubCallback <TrustedClaimIssuer <true >[]> |
Promise
<UnsubCallback
>
▸ remove(args
, opts?
): Promise
<GenericPolymeshTransaction
<Asset
, Asset
>>
Remove the supplied Identities from the Asset's list of trusted claim issuers *
Note
this method is of type ProcedureMethod, which means you can call remove.checkAuthorization on it to see whether the signing Account and Identity have the required roles and permissions to run it
Name | Type |
---|---|
args |
ModifyAssetTrustedClaimIssuersRemoveParams |
opts? |
ProcedureOpts |
Promise
<GenericPolymeshTransaction
<Asset
, Asset
>>
▸ set(args
, opts?
): Promise
<GenericPolymeshTransaction
<Asset
, Asset
>>
Assign a new default list of trusted claim issuers to the Asset by replacing the existing ones with the list passed as a parameter
This requires two transactions
Note
this method is of type ProcedureMethod, which means you can call set.checkAuthorization on it to see whether the signing Account and Identity have the required roles and permissions to run it
Name | Type |
---|---|
args |
ModifyAssetTrustedClaimIssuersAddSetParams |
opts? |
ProcedureOpts |
Promise
<GenericPolymeshTransaction
<Asset
, Asset
>>
Entities
- Account
- Asset
- Authorization Request
- Checkpoint
- Checkpoint Schedule
- Corporate Action
- Corporate Action Base
- Custom Permission Group
- Default Portfolio
- Default Trusted Claim Issuer
- Dividend Distribution
- Entity
- Identity
- Instruction
- Known Permission Group
- Metadata Entry
- Multi Sig Proposal
- Numbered Portfolio
- Offering
- Permission Group
- Portfolio
- Subsidies
- Subsidy
- Ticker Reservation
- Venue
- Authorizations
- Types