TWAccount class abstract

Represents an Account in C++ with address, coin type and public key info, an item within a keystore.

Constructors

TWAccount.new()

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
TWAccountAddress(Pointer<Void> account) Pointer<Utf8>
Returns the address of an account.
TWAccountDerivationPath(Pointer<Void> account) Pointer<Utf8>
Returns derivationPath of an account.
TWAccountExtendedPublicKey(Pointer<Void> account) Pointer<Utf8>
Returns Base58 encoded extendedPublicKey of an account.
TWAccountPublicKey(Pointer<Void> account) Pointer<Utf8>
Returns hex encoded publicKey of an account.

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

TWAccountCoin(Pointer<Void> account) int
Return CoinType enum of an account.
TWAccountCreate(Pointer<Utf8> address, int coin, int derivation, Pointer<Utf8> derivationPath, Pointer<Utf8> publicKey, Pointer<Utf8> extendedPublicKey) Pointer<Void>
Creates a new Account with an address, a coin type, derivation enum, derivationPath, publicKey, and extendedPublicKey. Must be deleted with TWAccountDelete after use.
TWAccountDelete(Pointer<Void> account) → void
Deletes an account.
TWAccountDerivation(Pointer<Void> account) int
Returns the derivation enum of an account.