Expand description
Functions for encoding objects into the XRP Ledger’s canonical binary format and decoding them.
This module is the public API entry point.
Internal serialization/deserialization logic lives in binary_wrappers
Re-exports§
pub use binary_wrappers::*;
Modules§
- binary_
wrappers - definitions
- Functions for encoding objects into the XRP Ledger’s canonical binary format and decoding them.
- exceptions
- General XRPL Binary Codec Exceptions.
- types
- Top-level exports for types used in binary_codec.
- utils
- Utilities for binarycodec crate.
Functions§
- decode
- Decode a hex-encoded XRPL binary blob into a JSON object.
- decode_
ledger_ data - Decode a serialized ledger header from hex into JSON.
- encode
- Encode a transaction (or any XRPL object) to hex-encoded binary.
- encode_
for_ multisigning - Encode a transaction for multi-signing (prepends multi-sign prefix, appends the signing account ID).
- encode_
for_ signing - Encode a transaction for signing (prepends the signing prefix).
- encode_
for_ signing_ batch - Encode a Batch transaction for signing.
- encode_
for_ signing_ claim - Encode a payment channel claim for signing.