Module rippled_binary_codec::serialize [−][src]
Expand description
The core function to serialize the ripple transaction.
Functions
The function serialize_tx takes a transaction JSON and returns a bytes object representing
the transaction in binary format.
If for_signing=true, then only signing fields are serialized, so you can use the output to sign
the transaction.
Each Field
is serialized by specific field_to_bytes
defined in DefinitionFields
.