-
Notifications
You must be signed in to change notification settings - Fork 11
api.entities.Asset.Base.Documents.Documents
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
Name | Type |
---|---|
paginationOpts? |
PaginationOptions |
Promise
<ResultSet
<AssetDocument
>>
Note
supports pagination
api/entities/Asset/Base/Documents/index.ts:45
▸ 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
Name | Type |
---|---|
args |
SetAssetDocumentsParams |
opts? |
ProcedureOpts |
Promise
<GenericPolymeshTransaction
<void
, void
>>
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
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