Skip to main content
POST
/
v1
/
createSigningRequest
CreateSigningRequest
curl --request POST \
  --url https://api.mpcvault.com/v1/createSigningRequest \
  --header 'Content-Type: application/json' \
  --header 'x-mtoken: <api-key>' \
  --data '
{
  "aptosMessage": {
    "type": "TYPE_UNSPECIFIED",
    "from": "<string>",
    "content": {
      "address": "<string>",
      "application": "<string>",
      "chainId": "<string>",
      "message": "<string>",
      "nonce": "<string>"
    }
  },
  "vaultUuid": "<string>",
  "notes": "<string>"
}
'
{
  "signingRequest": {
    "uuid": "<string>",
    "status": "STATUS_UNSPECIFIED",
    "txHash": "<string>",
    "vaultUuid": "<string>",
    "aptosMessage": {
      "type": "TYPE_UNSPECIFIED",
      "from": "<string>",
      "content": {
        "address": "<string>",
        "application": "<string>",
        "chainId": "<string>",
        "message": "<string>",
        "nonce": "<string>"
      }
    },
    "failedReason": "<string>",
    "creationTimestamp": 123,
    "notes": "<string>",
    "simulation": "aSDinaTvuI8gbWludGxpZnk=",
    "evmInputDataDecode": {
      "function": "<string>",
      "args": [
        {
          "name": "<string>",
          "type": "<string>",
          "data": "<string>"
        }
      ]
    }
  },
  "error": {
    "executeSigningRequestsErrorCode": "EXECUTE_SIGNING_REQUESTS_ERROR_CODE_UNSPECIFIED",
    "message": "<string>"
  }
}
Creates a signing request that can be completed in the MPCVault mobile app (manual) or with the API client signer (programmatic). In the Try It playground, select a transaction type from the tabs and fill in the required fields.

Authorizations

x-mtoken
string
header
required

Your API token. Required for all API requests.

Body

application/json
aptosMessage
AptosMessage · object
required
vaultUuid
string
required

The UUID of the vault that the signing request will be created in.

notes
string

The transaction notes for the signing request.

Response

200 - application/json

Success

signingRequest
object
required
error
Execute SRs Error Code · object