Polymesh SDK API Reference
beta
beta
  • Globals
  • Classes
    • Account
    • AccountManagement
    • Asset
    • AssetHolders
    • AssetPermissions
    • Assets
    • AuthorizationRequest
    • Authorizations
    • Checkpoint
    • CheckpointSchedule
    • Checkpoints
    • Claims
    • Compliance
    • CorporateAction
    • CorporateActionBase
    • CorporateActions
    • Count
    • CustomPermissionGroup
    • DefaultPortfolio
    • DefaultTrustedClaimIssuer
    • Distributions
    • DividendDistribution
    • Documents
    • Entity
    • Identities
    • Identity
    • IdentityAuthorizations
    • Instruction
    • Issuance
    • KnownPermissionGroup
    • Network
    • NumberedPortfolio
    • Offering
    • Offerings
    • Percentage
    • PermissionGroup
    • Permissions
    • Polymesh
    • PolymeshError
    • PolymeshTransaction
    • PolymeshTransactionBase
    • PolymeshTransactionBatch
    • Portfolio
    • Portfolios
    • Requirements
    • Schedules
    • Settlements
    • Subsidy
    • TickerReservation
    • TransactionQueue
    • TransferRestrictionBase
    • TransferRestrictions
    • TrustedClaimIssuers
    • Venue
  • Enums
  • Interfaces
Powered by GitBook
On this page
  • Hierarchy
  • Index
  • Properties
  • Methods
  • Properties
  • Protected context
  • Protected parent
  • Methods
  • get
  • set

Was this helpful?

  1. Classes

Documents

PreviousDividendDistributionNextEntity

Last updated 2 years ago

Was this helpful?

Handles all Asset Document related functionality

Hierarchy

  • Namespace‹›

    ↳ Documents

Index

Properties

Methods

Properties

Protected context

• context: Context

Inherited from void


Protected parent

Inherited from void

Methods

get

Retrieve all documents linked to the Asset

note supports pagination

Parameters:

Name
Type

paginationOpts?


set

Assign a new list of documents to the Asset by replacing the existing list of documents with the ones passed in the parameters

This requires two transactions

Parameters:

Name
Type

args

opts?

Defined in

• parent:

Defined in

▸ get(paginationOpts?: ): Promise‹‹››

Defined in

Returns: Promise‹‹››

▸ set(args: , opts?: ): Promise‹‹››

Defined in

note this method is of type , which means you can call on it to see whether the signing Account and Identity have the required roles and permissions to run it

Returns: Promise‹‹››

src/api/entities/Namespace.ts:11
Asset
src/api/entities/Namespace.ts:9
PaginationOptions
ResultSet
AssetDocument
src/api/entities/Asset/Documents.ts:43
ResultSet
AssetDocument
SetAssetDocumentsParams
ProcedureOpts
TransactionQueue
Asset
src/api/entities/Asset/Documents.ts:34
ProcedureMethod
set.checkAuthorization
TransactionQueue
Asset
Asset
context
parent
get
set
PaginationOptions
SetAssetDocumentsParams
ProcedureOpts