sto_from_json
Format JSON as an STO object (binary encoded ledger data).
Concepts
Behaviour
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.
Definition
Example
Parameters
Name
Type
Description
jsonobj
Record<string, any> | Transaction
JSON object to be converted into an STO object.
Return Code
Type
Description
ErrorCode | ByteArray
STO Object in binary encoded ledger data format, or an error code if the conversion fails.
Last updated
Was this helpful?