Class: Settlements
api/client/Settlements.Settlements
Handles all Settlement related functionality
Methods
addInstruction
▸ addInstruction(args
, opts?
): Promise
<GenericPolymeshTransaction
<Instruction
[], Instruction
>>
Create an Instruction to exchange Assets
Parameters
Name | Type |
---|---|
args | AddInstructionWithVenueIdParams |
opts? | ProcedureOpts |
Returns
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
Defined in
affirmInstruction
▸ affirmInstruction(args
, opts?
): Promise
<GenericPolymeshTransaction
<Instruction
, Instruction
>>
Affirm an Instruction (authorize)
Parameters
Name | Type |
---|---|
args | InstructionIdParams |
opts? | ProcedureOpts |