Address & XPUB
Get Address
var coinType = DcentWebConnector.coinType.ETHEREUM
var keyPath = "m/44'/60'/0'/0/0" // key path of the account
var result
try{
// Get Ethereum Address corresponding to keyPath
result = await DcentWebConnector.getAddress(coinType, keyPath)
}catch(e){
result = e
}{
"header": {
"version": "1.0",
"response_from": "ethereum",
"status": "success"
},
"body": {
"command": "get_address",
"parameter": {
"address": "0x354609C4c9a15d4265cF6D94010568D5Cf4d0c1B"
}
}
}Get XPUB
Select Address
Last updated