TWBitcoinAddress class abstract
Represents a legacy Bitcoin address in C++.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
TWBitcoinAddressCreateWithData(
Pointer< Void> data) → Pointer<Void> - Initializes an address from raw data.
-
TWBitcoinAddressCreateWithPublicKey(
Pointer< Void> publicKey, int prefix) → Pointer<Void> - Initializes an address from a public key and a prefix byte.
-
TWBitcoinAddressCreateWithString(
Pointer< Utf8> string) → Pointer<Void> - Initializes an address from a Base58 sring. Must be deleted with TWBitcoinAddressDelete after use.
-
TWBitcoinAddressDelete(
Pointer< Void> address) → void - Deletes a legacy Bitcoin address.
-
TWBitcoinAddressDescription(
Pointer< Void> address) → Pointer<Utf8> - Returns the address in Base58 string representation.
-
TWBitcoinAddressEqual(
Pointer< Void> lhs, Pointer<Void> rhs) → bool - Compares two addresses for equality.
-
TWBitcoinAddressIsValid(
Pointer< Void> data) → bool - Determines if the data is a valid Bitcoin address.
-
TWBitcoinAddressIsValidString(
Pointer< Utf8> string) → bool - Determines if the string is a valid Bitcoin address.
-
TWBitcoinAddressKeyhash(
Pointer< Void> address) → Pointer<Void> - Returns the key hash data.
-
TWBitcoinAddressPrefix(
Pointer< Void> address) → int - Returns the address prefix.