api_client_Settlements.Settlements
@polymeshassociation/polymesh-sdk / Modules / api/client/Settlements / Settlements
Class: Settlements
api/client/Settlements.Settlements
Handles all Settlement related functionality
Table of contents
Methods
Methods
addInstruction
▸ addInstruction(args
, opts?
): Promise
<TransactionQueue
<Instruction
[], Instruction
, unknown
[][]>>
Create an Instruction to exchange Assets
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
Parameters
Returns
Promise
<TransactionQueue
<Instruction
[], Instruction
, unknown
[][]>>
Defined in
affirmInstruction
▸ affirmInstruction(args
, opts?
): Promise
<TransactionQueue
<Instruction
, Instruction
, unknown
[][]>>
Affirm an Instruction (authorize)
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
Parameters
Returns
Promise
<TransactionQueue
<Instruction
, Instruction
, unknown
[][]>>
Defined in
createVenue
▸ createVenue(args
, opts?
): Promise
<TransactionQueue
<Venue
, Venue
, unknown
[][]>>
Create a Venue under the ownership of the signing Identity
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
Parameters
Returns
Promise
<TransactionQueue
<Venue
, Venue
, unknown
[][]>>
Defined in
getInstruction
▸ getInstruction(args
): Promise
<Instruction
>
Retrieve an Instruction by its ID
Parameters
Returns
Promise
<Instruction
>
Defined in
getVenue
▸ getVenue(args
): Promise
<Venue
>
Retrieve a Venue by its ID
Parameters
Returns
Promise
<Venue
>
Defined in
Last updated