Skip to main content
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

chain_code
String
required
Chain code of the wallet addresses.
start_id
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
end_id
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
limit
Int
number of entries per page; max: 50; default: 50
sort
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

success
bool
request successful or failed
result
object
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":""
        }
      ]
  }
}