-
Notifications
You must be signed in to change notification settings - Fork 11
api.client.Settlements.Settlements
api/client/Settlements.Settlements
Handles all Settlement related functionality
▸ addInstruction(args
, opts?
): Promise
<GenericPolymeshTransaction
<Instruction
[], Instruction
>>
Create an Instruction to exchange Assets
Name | Type |
---|---|
args |
AddInstructionWithVenueIdParams |
opts? |
ProcedureOpts |
Promise
<GenericPolymeshTransaction
<Instruction
[], Instruction
>>
Note
this method is of type ProcedureMethod, which means you can call addInstruction.checkAuthorization on it to see whether the signing Account and Identity have the required roles and permissions to run it
▸ affirmInstruction(args
, opts?
): Promise
<GenericPolymeshTransaction
<Instruction
, Instruction
>>
Affirm an Instruction (authorize)
Name | Type |
---|---|
args |
InstructionIdParams |
opts? |
ProcedureOpts |
Promise
<GenericPolymeshTransaction
<Instruction
, Instruction
>>
Note
this method is of type ProcedureMethod, which means you can call affirmInstruction.checkAuthorization on it to see whether the signing Account and Identity have the required roles and permissions to run it
▸ createVenue(args
, opts?
): Promise
<GenericPolymeshTransaction
<Venue
, Venue
>>
Create a Venue under the ownership of the signing Identity
Name | Type |
---|---|
args |
CreateVenueParams |
opts? |
ProcedureOpts |
Promise
<GenericPolymeshTransaction
<Venue
, Venue
>>
Note
this method is of type ProcedureMethod, which means you can call createVenue.checkAuthorization on it to see whether the signing Account and Identity have the required roles and permissions to run it
▸ getHistoricalInstructions(filter
): Promise
<HistoricInstruction
[]>
Retrieve all Instructions that have been associated with this Identity's DID
Name | Type |
---|---|
filter |
InstructionPartiesFilters |
Promise
<HistoricInstruction
[]>
Note
uses the middleware V2
Note
supports pagination
▸ getInstruction(args
): Promise
<Instruction
>
Retrieve an Instruction by its ID
Name | Type | Description |
---|---|---|
args |
Object |
- |
args.id |
BigNumber |
identifier number of the Instruction |
Promise
<Instruction
>
▸ getVenue(args
): Promise
<Venue
>
Retrieve a Venue by its ID
Name | Type | Description |
---|---|---|
args |
Object |
- |
args.id |
BigNumber |
identifier number of the Venue |
Promise
<Venue
>
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