Address & XPUB
Get Address
Get the address of CoinType
and BIP44 Key Path using getAddress()
function.
Parameters
Parameter | Type | Description |
---|---|---|
coinType |
| coin type. |
keyPath |
| key path to get address. |
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 XPUB
Get a xpub key of BIP44 Key Path or BIP32 master key using getXPUB()
function.
Example
Last updated