Namespace definitions
Functions and properties that are only accessible withing the scope of an operation.
Example
operation my_operation() {
print(op_context.exists()); // Prints true
}
query my_query() {
return op_context.exists(); // Returns false
}
Content copied to clipboard
Since
0.7.0
Properties
Functions
Link copied to clipboard
Emits an event with the provided type and data.
Link copied to clipboard
Gets all operations in this transaction.
Link copied to clipboard
Retrieves the current operation.
Link copied to clipboard
Returns a list of pubkeys representing the signers of the current transaction.
Link copied to clipboard
Checks if the provided public key is one of the signers of the current transaction.