Class: FungibleAsset
api/entities/Asset/Fungible.FungibleAsset
Class used to manage all Fungible Asset functionality
Hierarchy
-
↳
FungibleAsset
Properties
assetHolders
• assetHolders: AssetHolders
Defined in
api/entities/Asset/Fungible/index.ts:49
checkpoints
• checkpoints: Checkpoints
Defined in
api/entities/Asset/Fungible/index.ts:53
compliance
• compliance: Compliance
Inherited from
Defined in
api/entities/Asset/Base/BaseAsset.ts:71
corporateActions
• corporateActions: CorporateActions
Defined in
api/entities/Asset/Fungible/index.ts:54
documents
• documents: Documents
Inherited from
Defined in
api/entities/Asset/Base/BaseAsset.ts:72
id
• id: string
Unique ID of the Asset in UUID format
Inherited from
Defined in
api/entities/Asset/Base/BaseAsset.ts:79
issuance
• issuance: Issuance
Defined in
api/entities/Asset/Fungible/index.ts:50
metadata
• metadata: Metadata
Inherited from
Defined in
api/entities/Asset/Base/BaseAsset.ts:73
offerings
• offerings: Offerings
Defined in
api/entities/Asset/Fungible/index.ts:52
permissions
• permissions: Permissions
Inherited from
Defined in
api/entities/Asset/Base/BaseAsset.ts:74
settlements
• settlements: FungibleSettlements
Defined in
api/entities/Asset/Fungible/index.ts:48
transferRestrictions
• transferRestrictions: TransferRestrictions
Defined in
api/entities/Asset/Fungible/index.ts:51
uuid
• uuid: string
Inherited from
Defined in
Accessors
rawId
• get rawId(): string
Unique ID of the Asset in hex format
Returns
string
Note
Although UUID format is the usual representation of asset IDs, generic polkadot/substrate tools usually expect it in hex format
Inherited from
BaseAsset.rawId
Defined in
api/entities/Asset/Base/BaseAsset.ts:86
Methods
addRequiredMediators
▸ addRequiredMediators(args, opts?): Promise<GenericPolymeshTransaction<void, void>>
Add required mediators. Mediators must approve any trades involving the asset
Parameters
| Name | Type |
|---|---|
args | AssetMediatorParams |
opts? | ProcedureOpts |
Returns
Promise<GenericPolymeshTransaction<void, void>>
Note
this method is of type ProcedureMethod, which means you can call addRequiredMediators.checkAuthorization on it to see whether the signing Account and Identity have the required roles and permissions to run it
Inherited from
BaseAsset.addRequiredMediators
Defined in
api/entities/Asset/Base/BaseAsset.ts:241
controllerTransfer
▸ controllerTransfer(args, opts?): Promise<GenericPolymeshTransaction<void, void>>
Force a transfer from a given Portfolio to the caller’s default Portfolio