-
Notifications
You must be signed in to change notification settings - Fork 11
api.entities.Asset.Fungible.Offerings.Offerings
api/entities/Asset/Fungible/Offerings.Offerings
Handles all Asset Offering related functionality
-
Namespace
<FungibleAsset
>↳
Offerings
▸ get(opts?
): Promise
<OfferingWithDetails
[]>
Retrieve all of the Asset's Offerings and their details. Can be filtered using parameters
Name | Type | Description |
---|---|---|
opts |
Object |
- |
opts.status? |
Partial <OfferingStatus > |
status of the Offerings to fetch. If defined, only Offerings that have all passed statuses will be returned |
Promise
<OfferingWithDetails
[]>
api/entities/Asset/Fungible/Offerings/index.ts:84
▸ getOne(args
): Promise
<Offering
>
Retrieve a single Offering associated to this Asset by its ID
Name | Type |
---|---|
args |
Object |
args.id |
BigNumber |
Promise
<Offering
>
Throws
if there is no Offering with the passed ID
api/entities/Asset/Fungible/Offerings/index.ts:62
▸ launch(args
, opts?
): Promise
<GenericPolymeshTransaction
<Offering
, Offering
>>
Launch an Asset Offering
Name | Type |
---|---|
args |
LaunchOfferingParams |
opts? |
ProcedureOpts |
Promise
<GenericPolymeshTransaction
<Offering
, Offering
>>
Note
required roles:
- Offering Portfolio Custodian
- Raising Portfolio Custodian
Note
this method is of type ProcedureMethod, which means you can call launch.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