Skip to main content
Version: 22.1.x

Class: TrustedClaimIssuers

api/entities/Asset/Compliance/TrustedClaimIssuers.TrustedClaimIssuers

Handles all Asset Default Trusted Claim Issuers related functionality

Hierarchy

  • Namespace<Asset>

    TrustedClaimIssuers

Methods

add

add(args, opts?): Promise<GenericPolymeshTransaction <Asset, Asset>>

Add the supplied Identities to the Asset's list of trusted claim issuers

Parameters

NameType
argsModifyAssetTrustedClaimIssuersAddSetParams
opts?ProcedureOpts

Returns

Promise<GenericPolymeshTransaction <Asset, Asset>>

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/Compliance/TrustedClaimIssuers.ts:95


get

get(): Promise<TrustedClaimIssuer<true>[]>

Retrieve the current Default Trusted Claim Issuers of the Asset

Returns

Promise<TrustedClaimIssuer<true>[]>

Note

can be subscribed to

Defined in

api/entities/Asset/Compliance/TrustedClaimIssuers.ts:114

get(callback): Promise<UnsubCallback>

Parameters

NameType
callbackSubCallback <TrustedClaimIssuer<true>[]>

Returns

Promise<UnsubCallback>

Defined in

api/entities/Asset/Compliance/TrustedClaimIssuers.ts:115


remove

remove(args, opts?): Promise<GenericPolymeshTransaction <Asset, Asset>>

Remove the supplied Identities from the Asset's list of trusted claim issuers *

Parameters

NameType
argsModifyAssetTrustedClaimIssuersRemoveParams
opts?ProcedureOpts

Returns

Promise<GenericPolymeshTransaction <Asset, Asset>>

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

Defined in

api/entities/Asset/Compliance/TrustedClaimIssuers.ts:105


set

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

Parameters

NameType
argsModifyAssetTrustedClaimIssuersAddSetParams
opts?ProcedureOpts

Returns

Promise<GenericPolymeshTransaction <Asset, Asset>>

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

Defined in

api/entities/Asset/Compliance/TrustedClaimIssuers.ts:85