api_client_Settlements.Settlements
Last updated
Was this helpful?
@polymeshassociation/polymesh-sdk / Modules / api/client/Settlements / Settlements
api/client/Settlements.Settlements
Handles all Settlement related functionality
▸ 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(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
opts?
Returns
Promise<TransactionQueue<Instruction, Instruction, unknown[][]>>
Defined in
▸ 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
opts?
Returns
Promise<TransactionQueue<Venue, Venue, unknown[][]>>
Defined in
▸ getInstruction(args): Promise<Instruction>
Retrieve an Instruction by its ID
Parameters
args
Object
-
args.id
BigNumber
identifier number of the Instruction
Returns
Promise<Instruction>
Defined in
▸ getVenue(args): Promise<Venue>
Retrieve a Venue by its ID
Parameters
args
Object
-
args.id
BigNumber
identifier number of the Venue
Returns
Promise<Venue>
Defined in
Last updated
Was this helpful?
Was this helpful?