generated from PolymeshAssociation/typescript-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 11
api.entities.Subsidies.Subsidies
prashantasdeveloper edited this page Dec 2, 2024
·
27 revisions
api/entities/Subsidies.Subsidies
Handles all Account Subsidies related functionality
-
Namespace
<Account
>↳
Subsidies
▸ getBeneficiaries(): Promise
<SubsidyWithAllowance
[]>
Get the list of Subsidy relationship along with their subsidized amount for which this Account is the subsidizer
Promise
<SubsidyWithAllowance
[]>
▸ 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
Promise
<null
| SubsidyWithAllowance
>
Note
can be subscribed to, if connected to node using a web socket
▸ getSubsidizer(callback
): Promise
<UnsubCallback
>
Name | Type |
---|---|
callback |
SubCallback <null | SubsidyWithAllowance > |
Promise
<UnsubCallback
>
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