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