package
0.0.0-20240415233601-cb7fc925d612
Repository: https://github.com/creaturedev/xrpl-go.git
Documentation: pkg.go.dev
# 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.
Zero returns a FieldMutation that sets the value to its zero value.
# 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
ErrNoLengthPrefix error is raised when no length prefix size is given.
No description provided by the author
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
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
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.
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.
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.
# Interfaces
SerializedType is an interface representing any type that can be serialized and deserialized to and from JSON.
# Type aliases
FieldMutation allows values to mutated before being serialized.