Address & XPUB
Last updated
Last updated
Get the address of CoinType
and BIP44 Key Path using getAddress()
function.
Parameters
Parameter | Type | Description |
---|---|---|
Returns
HashMap<String, String>
- address{address, pubkey}. (pubkey exists only when the coinType is CoinType.TEZOS
, CoinType.XTZ_FA
, CoinType.TEZOS_TESTNET
and CoinType.XTZ_FA_TESTNET
.)
Example(bitcoin)
Get a xpub key of BIP44 Key Path or BIP32 master key using getXPUB()
function.
Example
coinType
CoinType
coin type.
keyPath
Bip44KeyPath
| String
key path to get address.