Instruction
Last updated
Was this helpful?
Last updated
Was this helpful?
Represents a settlement Instruction to be executed on a certain Venue
‹UniqueIdentifiers›
↳ Instruction
Protected
context• id: BigNumber
Identifier number of the venue
• uuid: string
Affirm this instruction (authorize)
Retrieve information specific to this Instruction
Retrieve every authorization generated by this Instruction (status and authorizing Identity)
Retrieve all legs of this Instruction
Reject this instruction
note
reject on SettleOnAffirmation
will execute the settlement and it will fail immediately.
note
reject on SettleOnBlock
behaves just like unauthorize
Withdraw affirmation from this instruction (unauthorize)
Static
generateUuid▸ generateUuid‹Identifiers›(identifiers
: Identifiers): string
Generate the Entity's UUID from its identifying properties
Type parameters:
▪ Identifiers: object
Parameters:
Name
Type
Description
identifiers
Identifiers
Returns: string
Static
unserialize▸ unserialize‹Identifiers›(serialized
: string): Identifiers
Unserialize a UUID into its Unique Identifiers
Type parameters:
▪ Identifiers: object
Parameters:
Name
Type
Description
serialized
string
UUID to unserialize
Returns: Identifiers
• context:
Inherited from .
Defined in
Defined in
Inherited from .
Defined in
▸ affirm(): Promise‹‹››
Defined in
Returns: Promise‹‹››
▸ details(): Promise‹›
Defined in
Returns: Promise‹›
▸ getAffirmations(): Promise‹[]›
Defined in
Returns: Promise‹[]›
▸ getLegs(): Promise‹[]›
Defined in
Returns: Promise‹[]›
▸ reject(): Promise‹‹››
Defined in
Returns: Promise‹‹››
▸ withdraw(): Promise‹‹››
Defined in
Returns: Promise‹‹››
Inherited from .
Defined in
Inherited from .
Defined in