-
Notifications
You must be signed in to change notification settings - Fork 57
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
The NEM-SDK has a class TransactionMapping to map JSON transactions into models.
It can be useful for advanced users to make use the json mapping, and as well get transactions in serialized form. This table gathers the functions that each transaction model could implement.
| Function | Description |
| serialize():string | Serializes a transaction model into binary (unsigned payload) |
| toDTO():json | Serializes a transaction model into JSON |
| createFromPayload(data:string):Transaction | Reads the unsigned payload and creates a Transaction. |
| createFromDTO(data:json):Transaction | Reads from JSON and creates a Transaction. |
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request