api.entities.Asset.Base.Compliance.TrustedClaimIssuers.TrustedClaimIssuers - PolymeshAssociation/polymesh-sdk GitHub Wiki
api/entities/Asset/Base/Compliance/TrustedClaimIssuers.TrustedClaimIssuers
Handles all Asset Default Trusted Claim Issuers related functionality
-
Namespace
<BaseAsset
>↳
TrustedClaimIssuers
▸ add(args
, opts?
): Promise
<GenericPolymeshTransaction
<void
, void
>>
Add the supplied Identities to the Asset's list of trusted claim issuers
Name | Type |
---|---|
args |
ModifyAssetTrustedClaimIssuersAddSetParams |
opts? |
ProcedureOpts |
Promise
<GenericPolymeshTransaction
<void
, void
>>
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
api/entities/Asset/Base/Compliance/TrustedClaimIssuers.ts:93
▸ get(): Promise
<TrustedClaimIssuer
<true
>[]>
Retrieve the current Default Trusted Claim Issuers of the Asset
Promise
<TrustedClaimIssuer
<true
>[]>
Note
can be subscribed to, if connected to node using a web socket
api/entities/Asset/Base/Compliance/TrustedClaimIssuers.ts:112
▸ get(callback
): Promise
<UnsubCallback
>
Name | Type |
---|---|
callback |
SubCallback <TrustedClaimIssuer <true >[]> |
Promise
<UnsubCallback
>
api/entities/Asset/Base/Compliance/TrustedClaimIssuers.ts:113
▸ remove(args
, opts?
): Promise
<GenericPolymeshTransaction
<void
, void
>>
Remove the supplied Identities from the Asset's list of trusted claim issuers *
Name | Type |
---|---|
args |
ModifyAssetTrustedClaimIssuersRemoveParams |
opts? |
ProcedureOpts |
Promise
<GenericPolymeshTransaction
<void
, void
>>
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
api/entities/Asset/Base/Compliance/TrustedClaimIssuers.ts:103
▸ set(args
, opts?
): Promise
<GenericPolymeshTransaction
<void
, void
>>
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
Name | Type |
---|---|
args |
ModifyAssetTrustedClaimIssuersAddSetParams |
opts? |
ProcedureOpts |
Promise
<GenericPolymeshTransaction
<void
, void
>>
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
api/entities/Asset/Base/Compliance/TrustedClaimIssuers.ts:83