Structsยง
Enumsยง
Constantsยง
- ACCOUNT_
ID_ LEN - CURRENCY_
LEN - MPT_
ID_ LEN - NEGATIVE_
MPT - POSITIVE_
MPT - _MAX_
MANTISSA ๐ - _MIN_
MANTISSA ๐ - _POS_
SIGN_ ๐BIT_ MASK - _ZERO_
CURRENCY_ ๐AMOUNT_ HEX
Functionsยง
- _deserialize_
issued_ currency_ amount - _serialize_
issued_ currency_ value - Serializes the value field of an issued currency amount to its bytes representation.
- decode
- decode_
account_ id - decode_
amount - decode_
amount_ json - decode_
currency - decode_
hash - decode_
hex - decode_
issue - decode_
issue_ json - decode_
ledger_ obj_ type - decode_
not - decode_
number - decode_
tx_ type - decode_
u8 - decode_
u16 - decode_
u32 - decode_
u64 - decode_
u128 - decode_
vl_ other - normalize_
amount_ ๐value - Normalize amount values by converting numbers to strings This handles both simple amounts (XRP) and complex amounts (IOU) with numeric values
- not_
leaf - polulate_
field_ ๐names - raw_
string_ to_ bytes