Address & XPUB
Get Address
Get the address of CoinType
and BIP44 Key Path using getAddress()
function.
Parameters
coinType: coin type
addressPath: key path to get address
Returns
result: (Bool)
true
if successful,false
if error occurredaddress: address
pubkey: public key value(pubkey exists only when the coinType is
.TEZOS
,.XTZ_FA
,.TEZOS_TESTNET
and.XTZ_FA_TESTNET
)
Example(bitcoin)
Get XPUB
Get a xpub key of BIP44 Key Path or BIP32 master key using requestExtractPublicKey()
function.
Parameters
KeyPath: key path to extract public key
Returns
result: (Bool)
true
if successful,false
if error occurredpublickey: extract public key
Example
Last updated