Documentation
¶
Index ¶
- Variables
- func Decode(hexEncoded string) (map[string]any, error)
- func Encode(json map[string]any) (string, error)
- func EncodeForMultisigning(json map[string]any, xrpAccountID string) (string, error)
- func EncodeForSigning(json map[string]any) (string, error)
- func EncodeForSigningClaim(json map[string]any) (string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrSigningClaimFieldNotFound = errors.New("'Channel' & 'Amount' fields are both required, but were not found")
Functions ¶
func Decode ¶
Decode decodes a hex string in the canonical binary format into a JSON transaction object.
func Encode ¶
Encode converts a JSON transaction object to a hex string in the canonical binary format. The binary format is defined in XRPL's core codebase.
func EncodeForMultisigning ¶
EncodeForMultiSign: encodes a transaction into binary format in preparation for providing one signature towards a multi-signed transaction. (Only encodes fields that are intended to be signed.)
func EncodeForSigning ¶
Encodes a transaction into binary format in preparation for signing.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.