request(
"GET",
"/v1/custody/mpc/list_addresses/",
{
"chain_code": "ETH",
"start_id": "721887227156373678",
"end_id": "",
"limit": 2,
"sort": 0
},
api_key, api_secret, host
)
coboFetch('GET', '/v1/custody/mpc/list_addresses/', {
"chain_code": "ETH",
"start_id": "721887227156373678",
"end_id": "",
"limit": 2,
"sort": 0
}, api_key, api_secret, host)
.then(res => {
res.json().then((data)=>{
console.log(JSON.stringify(data, null, 4));
})
}).catch(err => {
console.log(err)
});
Request("GET", "/v1/custody/mpc/list_addresses/", map[string]string{
"chain_code": "ETH",
"start_id": "721887227156373678",
"end_id": "",
"limit": 2,
"sort": 0
})
{
"success": true,
"result": {
"total": 2,
"addresses": [
{
"id": "721941011752862138",
"address": "0x297db9241bfe5665641951bcf166feebd003870c",
"encoding": 0,
"hd_path": "m/44/60/1/0/85",
"description":""
},
{
"id": "721941011752862137",
"address": "0x14cf9de0d8062ca53af5c92dcc574c8f3acb6da5",
"encoding": 0,
"hd_path": "m/44/60/1/0/84",
"description":""
}
]
}
}
Account
Get Addresses List
This content applies to WaaS 1.0 only. We highly recommend that you upgrade to WaaS 2.0.
GET
/
v1
/
custody
/
mpc
/
list_addresses
/
request(
"GET",
"/v1/custody/mpc/list_addresses/",
{
"chain_code": "ETH",
"start_id": "721887227156373678",
"end_id": "",
"limit": 2,
"sort": 0
},
api_key, api_secret, host
)
coboFetch('GET', '/v1/custody/mpc/list_addresses/', {
"chain_code": "ETH",
"start_id": "721887227156373678",
"end_id": "",
"limit": 2,
"sort": 0
}, api_key, api_secret, host)
.then(res => {
res.json().then((data)=>{
console.log(JSON.stringify(data, null, 4));
})
}).catch(err => {
console.log(err)
});
Request("GET", "/v1/custody/mpc/list_addresses/", map[string]string{
"chain_code": "ETH",
"start_id": "721887227156373678",
"end_id": "",
"limit": 2,
"sort": 0
})
{
"success": true,
"result": {
"total": 2,
"addresses": [
{
"id": "721941011752862138",
"address": "0x297db9241bfe5665641951bcf166feebd003870c",
"encoding": 0,
"hd_path": "m/44/60/1/0/85",
"description":""
},
{
"id": "721941011752862137",
"address": "0x14cf9de0d8062ca53af5c92dcc574c8f3acb6da5",
"encoding": 0,
"hd_path": "m/44/60/1/0/84",
"description":""
}
]
}
}
Request
String
required
Chain code of the wallet addresses.
String
ID of an address to start with; the latest address information will be returned if neither the start ID nor the end ID is specified
String
ID of an address to end with; the latest address information will be returned if neither the start ID nor the end ID is specified
Int
number of entries per page; max: 50; default: 50
Int
address sorting method; 1: based on creation time, from earliest to latest; other value: based on creation time, from latest to earliest (default)
Response
bool
request successful or failed
object
Show object
Show object
Int
Total number of addresses
request(
"GET",
"/v1/custody/mpc/list_addresses/",
{
"chain_code": "ETH",
"start_id": "721887227156373678",
"end_id": "",
"limit": 2,
"sort": 0
},
api_key, api_secret, host
)
coboFetch('GET', '/v1/custody/mpc/list_addresses/', {
"chain_code": "ETH",
"start_id": "721887227156373678",
"end_id": "",
"limit": 2,
"sort": 0
}, api_key, api_secret, host)
.then(res => {
res.json().then((data)=>{
console.log(JSON.stringify(data, null, 4));
})
}).catch(err => {
console.log(err)
});
Request("GET", "/v1/custody/mpc/list_addresses/", map[string]string{
"chain_code": "ETH",
"start_id": "721887227156373678",
"end_id": "",
"limit": 2,
"sort": 0
})
{
"success": true,
"result": {
"total": 2,
"addresses": [
{
"id": "721941011752862138",
"address": "0x297db9241bfe5665641951bcf166feebd003870c",
"encoding": 0,
"hd_path": "m/44/60/1/0/85",
"description":""
},
{
"id": "721941011752862137",
"address": "0x14cf9de0d8062ca53af5c92dcc574c8f3acb6da5",
"encoding": 0,
"hd_path": "m/44/60/1/0/84",
"description":""
}
]
}
}
