GetSigningRequestDetails
curl --request POST \
--url https://api.mpcvault.com/v1/getSigningRequestDetails \
--header 'Content-Type: application/json' \
--header 'x-mtoken: <api-key>' \
--data '
{
"uuid": "bb6f129f-bbe3-4d95-9f33-c32812e3e1c4"
}
'import requests
url = "https://api.mpcvault.com/v1/getSigningRequestDetails"
payload = { "uuid": "bb6f129f-bbe3-4d95-9f33-c32812e3e1c4" }
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({uuid: 'bb6f129f-bbe3-4d95-9f33-c32812e3e1c4'})
};
fetch('https://api.mpcvault.com/v1/getSigningRequestDetails', 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/getSigningRequestDetails",
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([
'uuid' => 'bb6f129f-bbe3-4d95-9f33-c32812e3e1c4'
]),
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/getSigningRequestDetails"
payload := strings.NewReader("{\n \"uuid\": \"bb6f129f-bbe3-4d95-9f33-c32812e3e1c4\"\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/getSigningRequestDetails")
.header("x-mtoken", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"uuid\": \"bb6f129f-bbe3-4d95-9f33-c32812e3e1c4\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mpcvault.com/v1/getSigningRequestDetails")
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 \"uuid\": \"bb6f129f-bbe3-4d95-9f33-c32812e3e1c4\"\n}"
response = http.request(request)
puts response.read_body{
"signingRequest": {
"uuid": "b7d1c6e2-3f0a-4c52-9a41-5e8f2d6b1a07",
"status": "STATUS_PENDING",
"failedReason": "",
"txHash": "",
"creationTimestamp": "1759400600000",
"evmSendCustom": {
"chainId": "1",
"from": "0x71C7656EC7ab88b098defB751B7401B5f6d8976F",
"to": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"value": "0",
"input": "qQWcuwAAAAAAAAAAAAAAAFqutgU/PpTJuaCfM2aUNefvG+rtAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACYloA=",
"gasFee": {
"maxFee": null,
"maxPriorityFee": null,
"gasLimit": "65000"
},
"nonce": "42"
},
"notes": "Pay vendor invoice in USDT",
"vaultUuid": "9f5ee5fb-07f5-470c-a2ff-081e2d6d107a",
"callbackClientSignerPublicKey": null,
"simulation": "eyJ0cmFuc2FjdGlvbiI6eyJzdGF0dXMiOnRydWUsImdhc191c2VkIjo0NjEyM319",
"evmInputDataDecode": {
"function": "transfer(address,uint256)",
"args": [
{
"name": "to",
"type": "address",
"data": "0x5aAeb6053F3E94C9b9A09f33669435E7Ef1BeAed"
},
{
"name": "value",
"type": "uint256",
"data": "10000000"
}
]
},
"signatures": null,
"source": {
"type": "TYPE_WALLET_CONNECT",
"website": "app.uniswap.org"
}
},
"error": null
}Signing Requests
GetSigningRequestDetails
Get a signing request: status, failure reason, transaction hash and payload.
POST
/
v1
/
getSigningRequestDetails
GetSigningRequestDetails
curl --request POST \
--url https://api.mpcvault.com/v1/getSigningRequestDetails \
--header 'Content-Type: application/json' \
--header 'x-mtoken: <api-key>' \
--data '
{
"uuid": "bb6f129f-bbe3-4d95-9f33-c32812e3e1c4"
}
'import requests
url = "https://api.mpcvault.com/v1/getSigningRequestDetails"
payload = { "uuid": "bb6f129f-bbe3-4d95-9f33-c32812e3e1c4" }
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({uuid: 'bb6f129f-bbe3-4d95-9f33-c32812e3e1c4'})
};
fetch('https://api.mpcvault.com/v1/getSigningRequestDetails', 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/getSigningRequestDetails",
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([
'uuid' => 'bb6f129f-bbe3-4d95-9f33-c32812e3e1c4'
]),
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/getSigningRequestDetails"
payload := strings.NewReader("{\n \"uuid\": \"bb6f129f-bbe3-4d95-9f33-c32812e3e1c4\"\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/getSigningRequestDetails")
.header("x-mtoken", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"uuid\": \"bb6f129f-bbe3-4d95-9f33-c32812e3e1c4\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mpcvault.com/v1/getSigningRequestDetails")
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 \"uuid\": \"bb6f129f-bbe3-4d95-9f33-c32812e3e1c4\"\n}"
response = http.request(request)
puts response.read_body{
"signingRequest": {
"uuid": "b7d1c6e2-3f0a-4c52-9a41-5e8f2d6b1a07",
"status": "STATUS_PENDING",
"failedReason": "",
"txHash": "",
"creationTimestamp": "1759400600000",
"evmSendCustom": {
"chainId": "1",
"from": "0x71C7656EC7ab88b098defB751B7401B5f6d8976F",
"to": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"value": "0",
"input": "qQWcuwAAAAAAAAAAAAAAAFqutgU/PpTJuaCfM2aUNefvG+rtAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACYloA=",
"gasFee": {
"maxFee": null,
"maxPriorityFee": null,
"gasLimit": "65000"
},
"nonce": "42"
},
"notes": "Pay vendor invoice in USDT",
"vaultUuid": "9f5ee5fb-07f5-470c-a2ff-081e2d6d107a",
"callbackClientSignerPublicKey": null,
"simulation": "eyJ0cmFuc2FjdGlvbiI6eyJzdGF0dXMiOnRydWUsImdhc191c2VkIjo0NjEyM319",
"evmInputDataDecode": {
"function": "transfer(address,uint256)",
"args": [
{
"name": "to",
"type": "address",
"data": "0x5aAeb6053F3E94C9b9A09f33669435E7Ef1BeAed"
},
{
"name": "value",
"type": "uint256",
"data": "10000000"
}
]
},
"signatures": null,
"source": {
"type": "TYPE_WALLET_CONNECT",
"website": "app.uniswap.org"
}
},
"error": null
}Returns the signing request with the given UUID. Any request of a vault the API token can access is returned, whatever its status and however it was created: through the API, in the MPCVault app, or by a connected dApp (WalletConnect, plugin or MetaMask Institutional). Reading a request does not require a client signer.
The call fails with HTTP 400 (
InvalidArgument, message Invalid uuid) when the request does not exist or the token cannot access its vault.
The response is a SigningRequest object: the common fields and one payload field whose name says what the request is, their encodings, and notes on source and simulation.
Everything MPCVault returns about a request, including
simulation and evmInputDataDecode, is reference information, not a verification. See Verify independently.Authorizations
Your API token. Required for all API requests.
Body
application/json
Unique identifier of the signing request.
Example:
"bb6f129f-bbe3-4d95-9f33-c32812e3e1c4"
Was this page helpful?