Format JSON as an STO object (binary encoded ledger data).
Takes a JSON object and converts it into a binary encoded ledger data format.
Returns STO Object in binary encoded ledger data format, or an error code if the conversion fails.
jsonobj
Record<string, any> | Transaction
JSON object to be converted into an STO object.
ErrorCode | ByteArray
STO Object in binary encoded ledger data format, or an error code if the conversion fails.