Skip to main content
Version: 25.1.x

Class: Distributions

api/entities/Asset/Fungible/CorporateActions/Distributions.Distributions

Handles all Asset Distributions related functionality

Hierarchy

Methods

configureDividendDistribution

configureDividendDistribution(args, opts?): Promise<GenericPolymeshTransaction<DividendDistribution, DividendDistribution>>

Create a Dividend Distribution for a subset of the Asset Holders at a certain (existing or future) Checkpoint

Parameters

NameType
argsConfigureDividendDistributionParams
opts?ProcedureOpts

Returns

Promise<GenericPolymeshTransaction<DividendDistribution, DividendDistribution>>

Note

required role:

  • Origin Portfolio Custodian

Note

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

Defined in

api/entities/Asset/Fungible/CorporateActions/Distributions.ts:42


get

get(): Promise<DistributionWithDetails[]>

Retrieve all Dividend Distributions associated to this Asset, along with their details

Returns

Promise<DistributionWithDetails[]>

Defined in

api/entities/Asset/Fungible/CorporateActions/Distributions.ts:117


getOne

getOne(args): Promise<DistributionWithDetails>

Retrieve a single Dividend Distribution associated to this Asset by its ID

Parameters

NameType
argsObject
args.idBigNumber

Returns

Promise<DistributionWithDetails>

Throws

if there is no Distribution with the passed ID

Defined in

api/entities/Asset/Fungible/CorporateActions/Distributions.ts:65