request(
"POST",
"/v1/custody/mpc/update_address_description/",
{
"coin": "ETH",
"address": "0x43dbf416b77e12eef9b3b036a503638a0bb13f8f",
"description": "TestAddress01"
},
api_key, api_secret, host
)
coboFetch('POST', '/v1/custody/mpc/update_address_description/', {
"coin": "ETH",
"address": "0x43dbf416b77e12eef9b3b036a503638a0bb13f8f",
"description": "TestAddress01"
}, api_key, api_secret, host)
.then(res => {
res.json().then((data)=>{
console.log(JSON.stringify(data, null, 5));
})
}).catch(err => {
console.log(err)
});
Request("POST", "/v1/custody/mpc/update_address_description/", map[string]string{
"coin": "ETH",
"address": "0x43dbf416b77e12eef9b3b036a503638a0bb13f8f",
"description": "TestAddress01"
})
{
"success": true,
"result": {
"id": 831483763545608598,
"address": "0x43dbf416b77e12eef9b3b036a503638a0bb13f8f",
"encoding": 0,
"hd_path": "m/44/60/0/0/0",
"description": "TestAddress01"
}
}
Account
Update Address Description
This content applies to WaaS 1.0 only. We highly recommend that you upgrade to WaaS 2.0.
POST
/
v1
/
custody
/
mpc
/
update_address_description
/
request(
"POST",
"/v1/custody/mpc/update_address_description/",
{
"coin": "ETH",
"address": "0x43dbf416b77e12eef9b3b036a503638a0bb13f8f",
"description": "TestAddress01"
},
api_key, api_secret, host
)
coboFetch('POST', '/v1/custody/mpc/update_address_description/', {
"coin": "ETH",
"address": "0x43dbf416b77e12eef9b3b036a503638a0bb13f8f",
"description": "TestAddress01"
}, api_key, api_secret, host)
.then(res => {
res.json().then((data)=>{
console.log(JSON.stringify(data, null, 5));
})
}).catch(err => {
console.log(err)
});
Request("POST", "/v1/custody/mpc/update_address_description/", map[string]string{
"coin": "ETH",
"address": "0x43dbf416b77e12eef9b3b036a503638a0bb13f8f",
"description": "TestAddress01"
})
{
"success": true,
"result": {
"id": 831483763545608598,
"address": "0x43dbf416b77e12eef9b3b036a503638a0bb13f8f",
"encoding": 0,
"hd_path": "m/44/60/0/0/0",
"description": "TestAddress01"
}
}
Request
The coin code for which the address are to be updated.
The address to be updated.
The address description.
Response
request successful or failed
Show object
Show object
The ID of the generated address.
The generated address.
The HD path of the generated address.
The encoding of the generated address.For more information, please refer to the enum value corresponding to each encoding
The address description.
request(
"POST",
"/v1/custody/mpc/update_address_description/",
{
"coin": "ETH",
"address": "0x43dbf416b77e12eef9b3b036a503638a0bb13f8f",
"description": "TestAddress01"
},
api_key, api_secret, host
)
coboFetch('POST', '/v1/custody/mpc/update_address_description/', {
"coin": "ETH",
"address": "0x43dbf416b77e12eef9b3b036a503638a0bb13f8f",
"description": "TestAddress01"
}, api_key, api_secret, host)
.then(res => {
res.json().then((data)=>{
console.log(JSON.stringify(data, null, 5));
})
}).catch(err => {
console.log(err)
});
Request("POST", "/v1/custody/mpc/update_address_description/", map[string]string{
"coin": "ETH",
"address": "0x43dbf416b77e12eef9b3b036a503638a0bb13f8f",
"description": "TestAddress01"
})
{
"success": true,
"result": {
"id": 831483763545608598,
"address": "0x43dbf416b77e12eef9b3b036a503638a0bb13f8f",
"encoding": 0,
"hd_path": "m/44/60/0/0/0",
"description": "TestAddress01"
}
}
Was this page helpful?
âI
