curl --request POST \
--url https://api.mpcvault.com/v1/executeSigningRequests \
--header 'Content-Type: application/json' \
--header 'x-mtoken: <api-key>' \
--data '
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'import requests
url = "https://api.mpcvault.com/v1/executeSigningRequests"
payload = { "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
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: '3c90c3cc-0d44-4b50-8888-8dd25736052a'})
};
fetch('https://api.mpcvault.com/v1/executeSigningRequests', 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/executeSigningRequests",
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' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
]),
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/executeSigningRequests"
payload := strings.NewReader("{\n \"uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\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/executeSigningRequests")
.header("x-mtoken", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mpcvault.com/v1/executeSigningRequests")
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\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n}"
response = http.request(request)
puts response.read_body{
"error": {
"message": "<string>",
"executeSigningRequestsErrorCode": "EXECUTE_SIGNING_REQUESTS_ERROR_CODE_UNSPECIFIED",
"serviceErrorCode": "SERVICE_ERROR_CODE_UNSPECIFIED"
},
"txHash": "3Eq21vXNB5s86c62bVuUfTerseghjkuUqRPBmGRJhyTA",
"signatures": {
"signatures": [
{
"ecdsaSignature": {
"R": "<string>",
"S": "<string>",
"V": "<string>"
},
"eddsaSignature": "AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vMDEyMzQ1Njc4OTo7PD0+Pw=="
}
]
},
"signedTransaction": "<string>"
}ExecuteSigningRequests
Execute a pending signing request with the API client signer.
curl --request POST \
--url https://api.mpcvault.com/v1/executeSigningRequests \
--header 'Content-Type: application/json' \
--header 'x-mtoken: <api-key>' \
--data '
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'import requests
url = "https://api.mpcvault.com/v1/executeSigningRequests"
payload = { "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
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: '3c90c3cc-0d44-4b50-8888-8dd25736052a'})
};
fetch('https://api.mpcvault.com/v1/executeSigningRequests', 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/executeSigningRequests",
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' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
]),
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/executeSigningRequests"
payload := strings.NewReader("{\n \"uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\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/executeSigningRequests")
.header("x-mtoken", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mpcvault.com/v1/executeSigningRequests")
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\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n}"
response = http.request(request)
puts response.read_body{
"error": {
"message": "<string>",
"executeSigningRequestsErrorCode": "EXECUTE_SIGNING_REQUESTS_ERROR_CODE_UNSPECIFIED",
"serviceErrorCode": "SERVICE_ERROR_CODE_UNSPECIFIED"
},
"txHash": "3Eq21vXNB5s86c62bVuUfTerseghjkuUqRPBmGRJhyTA",
"signatures": {
"signatures": [
{
"ecdsaSignature": {
"R": "<string>",
"S": "<string>",
"V": "<string>"
},
"eddsaSignature": "AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vMDEyMzQ1Njc4OTo7PD0+Pw=="
}
]
},
"signedTransaction": "<string>"
}Authorizations
Your API token. Required for all API requests.
Body
UUID of the signing request. The request must have been created with a callbackClientSignerPublicKey. A request that already succeeded returns its stored result; a request that still needs signing also requires that API client signer to be connected and to hold a key of the vault.
Response
Success
Exactly one of the two error code fields is set.
Show child attributes
Show child attributes
Hash of the signed transaction, only set if status is STATUS_SUCCEEDED.This does not mean that the transaction it self is successful. It only means that the signing request has been signed.
"3Eq21vXNB5s86c62bVuUfTerseghjkuUqRPBmGRJhyTA"
Signatures of the raw message, only set if status is STATUS_SUCCEEDED.
Show child attributes
Show child attributes
Signed transaction for broadcast, only set if status is STATUS_SUCCEEDED.
Was this page helpful?