XRPL Global Variables¶
Collection of public constants for XRPL.
- class xrpl.constants.CryptoAlgorithm(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)¶
Bases:
str
,Enum
Represents the supported cryptography algorithms.
- ED25519 = 'ed25519'¶
- SECP256K1 = 'secp256k1'¶
- xrpl.constants.DROPS_DECIMAL_CONTEXT: Final[Context] = Context(prec=18, rounding=ROUND_HALF_EVEN, Emin=0, Emax=18, capitals=1, clamp=0, flags=[], traps=[InvalidOperation, DivisionByZero, Overflow])¶
Decimal context for working with drops. :meta private:
- xrpl.constants.IOU_DECIMAL_CONTEXT: Final[Context] = Context(prec=16, rounding=ROUND_HALF_EVEN, Emin=-96, Emax=80, capitals=1, clamp=0, flags=[], traps=[InvalidOperation, DivisionByZero, Overflow])¶
Decimal context for working with IOUs. :meta private:
- exception xrpl.constants.XRPLException¶
Bases:
Exception
Base Exception for XRPL library.