toTransactionValue
Converts any value to a type-safe instance of TransactionValue.Value.
Provides a concise alternative to explicit constructor invocation, improving readability of operations building transaction steps.
Usage example: val idRef = 123.toTransactionValue() instead of val idRef = TransactionValue.Value(123) The result will be TransactionValue<Int>.
Return
Instance of TransactionValue.Value wrapping this value.