api_entities_Asset_Compliance_TrustedClaimIssuers.TrustedClaimIssuers

@polymeshassociation/polymesh-sdk / Modules / api/entities/Asset/Compliance/TrustedClaimIssuers / TrustedClaimIssuers

Class: TrustedClaimIssuers

api/entities/Asset/Compliance/TrustedClaimIssuers.TrustedClaimIssuers

Handles all Asset Default Trusted Claim Issuers related functionality

Hierarchy

  • Namespace<Asset>

    TrustedClaimIssuers

Table of contents

Methods

Methods

add

add(args, opts?): Promise<TransactionQueue<Asset, Asset, unknown[][]>>

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

Parameters

Returns

Promise<TransactionQueue<Asset, Asset, unknown[][]>>

Defined in

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


get

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

Retrieve the current Default Trusted Claim Issuers of the Asset

note can be subscribed to

Returns

Promise<TrustedClaimIssuer<true>[]>

Defined in

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

get(callback): Promise<UnsubCallback>

Parameters

NameType

callback

Returns

Promise<UnsubCallback>

Defined in

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


remove

remove(args, opts?): Promise<TransactionQueue<Asset, Asset, unknown[][]>>

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

Parameters

Returns

Promise<TransactionQueue<Asset, Asset, unknown[][]>>

Defined in

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


set

set(args, opts?): Promise<TransactionQueue<Asset, Asset, unknown[][]>>

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

Parameters

Returns

Promise<TransactionQueue<Asset, Asset, unknown[][]>>

Defined in

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

Last updated