package
0.1.1
Repository: https://github.com/peersyst/xrpl-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package testutil is a generated GoMock package.

# Functions

GetSerializedType is a function that returns the correct SerializedType instance based on the string parameter.
NewHash128 is a constructor for creating a new 128-bit hash.
NewHash160 is a constructor for creating a new 160-bit hash.
NewHash256 is a constructor for creating a new 256-bit hash.
NewSTObject returns a new STObject with the given binary serializer.
SerializeIssuedCurrencyValue serializes the value field of an issued currency amount to its bytes representation.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
100 billion XRP in drops aka 10^17.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
ErrInvalidPathSet is an error that's thrown when an invalid path set is provided.
No description provided by the author
No description provided by the author
ErrNoLengthPrefix error is raised when no length prefix size is given.
No description provided by the author

# Structs

AccountID struct represents an account ID.
Amount is a struct that represents an XRPL Amount.
Blob struct is used for manipulating hexadecimal data.
ErrInvalidHashLength struct is used when the hash length does not meet the expected value.
No description provided by the author
No description provided by the author
ErrInvalidVector256Type represents an error when a Vector256 is constructed from an unexpected type.
Hash128 struct represents a 128-bit hash.
Hash160 struct represents a 160-bit hash.
Hash256 struct represents a 256-bit hash.
InvalidAmountError is a custom error type for invalid amounts.
InvalidCodeError is a custom error type for invalid currency codes.
Issue represents an XRPL Issue, which is essentially an AccountID.
OutOfRangeError is a custom error type for out-of-range values.
PathSet type declaration.
STArray represents an array of STObject instances.
STObject represents a map of serialized field instances, where each key is a field name and the associated value is the field's value.
UInt16 represents a 16-bit unsigned integer.
UInt32 represents a 32-bit unsigned integer.
UInt64 represents a 64-bit unsigned integer.
UInt8 represents an 8-bit unsigned integer.
Vector256 represents a 256 bit vector.
XChainBridge is a struct that represents an xchain bridge.

# Interfaces

SerializedType is an interface representing any type that can be serialized and deserialized to and from JSON.