Account

open fun Account(address: String, coin: CoinType, derivation: Derivation, derivationPath: String, publicKey: String, extendedPublicKey: String)

Creates a new Account with an address, a coin type, derivation enum, derivationPath, publicKey, and extendedPublicKey. Must be deleted with TWAccountDelete after use.

Return

A new Account.

Parameters

address

The address of the Account.

coin

The coin type of the Account.

derivation

The derivation of the Account.

derivationPath

The derivation path of the Account.

publicKey

hex encoded public key.

extendedPublicKey

Base58 encoded extended public key.