Module utils

Source
Expand description

Convenience utilities for the XRP Ledger

Re-exports§

pub use self::time_conversion::*;
pub use self::xrpl_conversion::*;

Modules§

exceptions
Exception for invalid XRP Ledger amount data.
get_nftoken_id
get_xchain_claim_id
parse_nftoken_id
str_conversion
time_conversion
Conversions between the XRP Ledger’s ‘Ripple Epoch’ time and native time data types.
txn_parser
xrpl_conversion
Conversions between XRP drops and native number types.

Traits§

ToBytes
Converter to byte array with endianness.

Functions§

is_hex_address
Determine if the address string is a hex address.
is_iso_code
Tests if value is a valid 3-char iso code.
is_iso_hex
Tests if value is a valid 40-char hex currency string.