Documents

Handles all Security Token Document related functionality

Hierarchy

Index

Properties

Methods

Properties

Protected context

context: Context

Inherited from void

Defined in src/api/entities/Namespace.ts:11

Protected parent

parent: SecurityToken

Inherited from void

Defined in src/api/entities/Namespace.ts:9

Methods

get

get(paginationOpts?: PaginationOptions): Promise‹ResultSetTokenDocument››

Defined in src/api/entities/SecurityToken/Documents.ts:49

Retrieve all documents linked to the Security Token

note supports pagination

Parameters:

NameType

paginationOpts?

Returns: Promise‹ResultSetTokenDocument››

set

set(args: SetTokenDocumentsParams, opts?: ProcedureOpts): Promise‹TransactionQueueSecurityToken››

Defined in src/api/entities/SecurityToken/Documents.ts:40

Assign a new list of documents to the Security Token by replacing the existing list of documents with the one passed in the parameters

This requires two transactions

note this method is of type ProcedureMethod, which means you can call set.checkAuthorization on it to see whether the Current Account has the required permissions to run it

Parameters:

Returns: Promise‹TransactionQueueSecurityToken››

Last updated