Bounded XRPL Payment, PaymentChannelCreate and PaymentChannelClaim codec.
Field ordinals and encodings follow https://xrpl.org/docs/references/protocol/binary-format
and XRPLF/xrpl.js packages/ripple-binary-codec/src/enums/definitions.json.
Unknown fields, duplicate fields, noncanonical order and truncated objects fail closed.
The decoder does not sign transactions; encode_claim/1 serializes a
PaymentChannelClaim for local signing.
Summary
Functions
Decode a classic address to its 20-byte AccountID.
Validate a classic address's version, length and checksum.
STX-prefixed signing serialization for a PaymentChannelClaim.
Decode a hex Payment blob, rejecting malformed or unsupported encodings.
Decode a signed PaymentChannelClaim blob.
Decode a signed PaymentChannelCreate blob for session open.
Decode a family seed to algorithm and 16-byte entropy.
Encode a 20-byte AccountID as a classic address.
Serialize a PaymentChannelClaim. Pass signing: true to omit Signature and TxnSignature.
Return true when the transaction carries a signature or a non-empty signer list.
Functions
Decode a classic address to its 20-byte AccountID.
Validate a classic address's version, length and checksum.
STX-prefixed signing serialization for a PaymentChannelClaim.
Decode a hex Payment blob, rejecting malformed or unsupported encodings.
Decode a signed PaymentChannelClaim blob.
Decode a signed PaymentChannelCreate blob for session open.
Decode a family seed to algorithm and 16-byte entropy.
Encode a 20-byte AccountID as a classic address.
Serialize a PaymentChannelClaim. Pass signing: true to omit Signature and TxnSignature.
Return true when the transaction carries a signature or a non-empty signer list.