sto_to_json
Format an STO object (binary encoded ledger data) as JSON format.
Concepts
Behaviour
Format an STO object (binary encoded ledger data) as JSON format.
This function takes a serialized transaction
blob
and converts it into a human-readable JSON format.Returns Decoded JSON representation of the STO object, or an error code if the conversion fails.
Definition
Example
Parameters
Name
Type
Description
blob
ByteArray | HexString
The blob (e.g. serialized transaction) to be converted.
Return Code
Type
Description
ErrorCode | Record<string, any> | Transaction
Decoded JSON representation of the STO object, or an error code if the conversion fails.
Last updated
Was this helpful?