curl --request POST \
--url https://api.mpcvault.com/v1/executeSigningRequests \
--header 'Content-Type: application/json' \
--header 'x-mtoken: <api-key>' \
--data '
{
"uuid": "<string>"
}
'import requests
url = "https://api.mpcvault.com/v1/executeSigningRequests"
payload = { "uuid": "<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({uuid: '<string>'})
};
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' => '<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/executeSigningRequests"
payload := strings.NewReader("{\n \"uuid\": \"<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/executeSigningRequests")
.header("x-mtoken", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"uuid\": \"<string>\"\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\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"error": {
"executeSigningRequestsErrorCode": "EXECUTE_SIGNING_REQUESTS_ERROR_CODE_UNSPECIFIED",
"message": "<string>"
},
"txHash": "<string>",
"signatures": {
"signatures": [
{
"ecdsaSignature": {
"R": "<string>",
"S": "<string>",
"V": "<string>"
}
}
]
},
"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": "<string>"
}
'import requests
url = "https://api.mpcvault.com/v1/executeSigningRequests"
payload = { "uuid": "<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({uuid: '<string>'})
};
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' => '<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/executeSigningRequests"
payload := strings.NewReader("{\n \"uuid\": \"<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/executeSigningRequests")
.header("x-mtoken", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"uuid\": \"<string>\"\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\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"error": {
"executeSigningRequestsErrorCode": "EXECUTE_SIGNING_REQUESTS_ERROR_CODE_UNSPECIFIED",
"message": "<string>"
},
"txHash": "<string>",
"signatures": {
"signatures": [
{
"ecdsaSignature": {
"R": "<string>",
"S": "<string>",
"V": "<string>"
}
}
]
},
"signedTransaction": "<string>"
}Authorizations
Your API token. Required for all API requests.
Body
required:true symbol_value:"12789f5ee5fb-07f5-470c-a2ff-081e2d6d107a" comment:uuid is the UUID of the signing request. Currently only signing requests of API wallets are supported.
Response
Success
- execute_signing_requests_error_code
- service_error_code
Show child attributes
Show child attributes
symbol_value:"3Eq21vXNB5s86c62bVuUfTerseghjkuUqRPBmGRJhyTA" comment:tx_hash is the 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.
signatures is the signatures of the raw message, only set if status is STATUS_SUCCEEDED.
Show child attributes
Show child attributes
signed_transaction is the signed transaction for broadcast, only set if status is STATUS_SUCCEEDED.
Was this page helpful?