Skip to main content
Version: 23.0.x

Class: Subsidies

api/entities/Subsidies.Subsidies

Handles all Account Subsidies related functionality

Hierarchy

Methods

getBeneficiaries

getBeneficiaries(): Promise<SubsidyWithAllowance[]>

Get the list of Subsidy relationship along with their subsidized amount for which this Account is the subsidizer

Returns

Promise<SubsidyWithAllowance[]>


getSubsidizer

getSubsidizer(): Promise<null | SubsidyWithAllowance>

Get the Subsidy relationship along with the subsidized amount for this Account is the beneficiary. If this Account isn't being subsidized, return null

Note

can be subscribed to

Returns

Promise<null | SubsidyWithAllowance>

getSubsidizer(callback): Promise<UnsubCallback>

Parameters

NameType
callbackSubCallback<null | SubsidyWithAllowance>

Returns

Promise<UnsubCallback>