TransactionSpec

TransactionSpec

Describes the type of transaction to be created by the function being wrapped by Shim#bindCreateTransaction.

Properties:
Name Type Attributes Default Description
type string

The type of transaction to create. Must be one of the values from Shim#TRANSACTION_TYPES.

nest bool <optional>
false

Indicates if the transaction being created is allowed to be nested within another transaction of the same type. If false, the default, the transaction will only be created if there is no existing transaction, or the current transaction is of a different type. If true, the transaction will be created regardless of the current transaction's type.

Source:
See:
  • Shim#bindCreateTransaction
  • Shim#TRANSACTION_TYPES