Any Address
class AnyAddress
Represents an address in C++ for almost any blockchain.
Constructors
Link copied to clipboard
Creates an address from a string representation and a coin type.
Link copied to clipboard
Creates an bech32 address from a string representation, a coin type and the given hrp.
Link copied to clipboard
Creates an SS58 address from a string representation, a coin type and the given ss58Prefix.
Link copied to clipboard
Creates an address from a public key.
Link copied to clipboard
Creates an address from a public key and derivation option.
Link copied to clipboard
Creates an bech32 address from a public key and a given hrp.
Link copied to clipboard
Creates an SS58 address from a public key and a given ss58Prefix.
Link copied to clipboard
Creates a Filecoin address from a public key and a given address type.
Link copied to clipboard
Creates a Firo address from a public key and a given address type.
Functions
Link copied to clipboard
Returns the address string representation.
Link copied to clipboard
Compares two addresses for equality.
Link copied to clipboard
Determines if the string is a valid Any address with the given hrp.
Link copied to clipboard
Determines if the string is a valid Any address with the given SS58 network prefix.