generated from PolymeshAssociation/typescript-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 11
api.entities.Asset.Base.Documents.Documents
prashantasdeveloper edited this page Sep 18, 2024
·
34 revisions
api/entities/Asset/Base/Documents.Documents
Handles all Asset Document related functionality
-
Namespace
<BaseAsset
>↳
Documents
▸ get(paginationOpts?
): Promise
<ResultSet
<AssetDocument
>>
Retrieve all documents linked to the Asset
Note
supports pagination
Name | Type |
---|---|
paginationOpts? |
PaginationOptions |
Promise
<ResultSet
<AssetDocument
>>
▸ set(args
, opts?
): Promise
<GenericPolymeshTransaction
<void
, void
>>
Assign a new list of documents to the Asset by replacing the existing list of documents with the ones passed in the parameters
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
Name | Type |
---|---|
args |
SetAssetDocumentsParams |
opts? |
ProcedureOpts |
Promise
<GenericPolymeshTransaction
<void
, void
>>
Entities
- Account
- Asset
- Authorization Request
- Checkpoint
- Checkpoint Schedule
- Corporate Action
- Corporate Action Base
- Custom Permission Group
- Default Portfolio
- Default Trusted Claim Issuer
- Dividend Distribution
- Entity
- Identity
- Instruction
- Known Permission Group
- Metadata Entry
- Multi Sig Proposal
- Numbered Portfolio
- Offering
- Permission Group
- Portfolio
- Subsidies
- Subsidy
- Ticker Reservation
- Venue
- Authorizations
- Types