Class: Instruction
api/entities/Instruction.Instruction
Represents a settlement Instruction to be executed on a certain Venue
Hierarchy
-
Entity
<UniqueIdentifiers
,string
>↳
Instruction
Properties
id
• id: BigNumber
Unique identifier number of the instruction
Defined in
api/entities/Instruction/index.ts:93
uuid
• uuid: string
Inherited from
Defined in
Methods
affirm
▸ affirm(args?
, opts?
): Promise
<GenericPolymeshTransaction
<Instruction
, Instruction
>>
Affirm this instruction (authorize)
Parameters
Name | Type |
---|---|
args? | AffirmOrWithdrawInstructionParams |
opts? | ProcedureOpts |
Returns
Promise
<GenericPolymeshTransaction
<Instruction
, Instruction
>>
Note
this method is of type OptionalArgsProcedureMethod, which means you can call affirm.checkAuthorization on it to see whether the signing Account and Identity have the required roles and permissions to run it
Defined in
api/entities/Instruction/index.ts:518
affirmAsMediator
▸ affirmAsMediator(args?
, opts?
): Promise
<GenericPolymeshTransaction
<Instruction
, Instruction
>>
Affirm this instruction as a mediator (authorize)
Parameters
Name | Type |
---|---|
args? | AffirmAsMediatorParams |
opts? | ProcedureOpts |
Returns
Promise
<GenericPolymeshTransaction
<Instruction
, Instruction
>>
Note
this method is of type OptionalArgsProcedureMethod, which means you can call affirmAsMediator.checkAuthorization on it to see whether the signing Account and Identity have the required roles and permissions to run it