Skip to main content
POST
/
v1
/
getWalletList
GetWalletList
curl --request POST \
  --url https://api.mpcvault.com/v1/getWalletList \
  --header 'Content-Type: application/json' \
  --header 'x-mtoken: <api-key>' \
  --data '
{
  "vaultUuid": "<string>",
  "page": "<string>",
  "limit": "<string>"
}
'
import requests

url = "https://api.mpcvault.com/v1/getWalletList"

payload = {
"vaultUuid": "<string>",
"page": "<string>",
"limit": "<string>"
}
headers = {
"x-mtoken": "<api-key>",
"Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'POST',
headers: {'x-mtoken': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({vaultUuid: '<string>', page: '<string>', limit: '<string>'})
};

fetch('https://api.mpcvault.com/v1/getWalletList', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.mpcvault.com/v1/getWalletList",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'vaultUuid' => '<string>',
'page' => '<string>',
'limit' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-mtoken: <api-key>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"strings"
"net/http"
"io"
)

func main() {

url := "https://api.mpcvault.com/v1/getWalletList"

payload := strings.NewReader("{\n \"vaultUuid\": \"<string>\",\n \"page\": \"<string>\",\n \"limit\": \"<string>\"\n}")

req, _ := http.NewRequest("POST", url, payload)

req.Header.Add("x-mtoken", "<api-key>")
req.Header.Add("Content-Type", "application/json")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.post("https://api.mpcvault.com/v1/getWalletList")
.header("x-mtoken", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"vaultUuid\": \"<string>\",\n \"page\": \"<string>\",\n \"limit\": \"<string>\"\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.mpcvault.com/v1/getWalletList")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["x-mtoken"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"vaultUuid\": \"<string>\",\n \"page\": \"<string>\",\n \"limit\": \"<string>\"\n}"

response = http.request(request)
puts response.read_body
{
  "detailsList": [
    {
      "vaultUuid": "9f5ee5fb-07f5-470c-a2ff-081e2d6d107a",
      "keyType": "KEY_TYPE_ECC_ED25519",
      "keyPath": "path/to/key",
      "publicKey": "aSDinaTvuI8gbWludGxpZnk=",
      "networkType": "NETWORK_TYPE_EVM",
      "address": "0x71C7656EC7ab88bd32g47dgdhhssq245f6d8976F",
      "ref": "0x4321567890abcdef4321567890abcdef123456",
      "status": "STATUS_ACTIVE",
      "name": "test wallet"
    }
  ],
  "error": {
    "message": "<string>"
  }
}
Returns all wallets in a vault. Use page and limit to paginate (e.g. limit 100, max 100 per page).

Authorizations

x-mtoken
string
header
required

Your API token. Required for all API requests.

Body

application/json
vaultUuid
string

required:true symbol_value:"12789f5ee5fb-07f5-470c-a2ff-081e2d6d107a" default:null comment:vault_uuid is the UUID of the vault that the wallet was created in.

page

symbol_value:"1" default: 1 comment:page is the page number.

limit

symbol_value:"100" default:100 max:100 comment:limit is the number of wallets to return.

Response

200 - application/json

Success

detailsList
details_list · object[]

symbol_value:"[{address: 0x71C7656EC7ab88bd32g47dgdhhssq245f6d8976F, name: test wallet, status: STATUS_ACTIVE}]" comment:details_list is the list of wallets.

error
execute_signing_requests_error_code · object