Skip to main content
POST
/
v1
/
resimulation
Resimulation
curl --request POST \
  --url https://api.mpcvault.com/v1/resimulation \
  --header 'Content-Type: application/json' \
  --header 'x-mtoken: <api-key>' \
  --data '
{
  "signingRequestUuid": "<string>"
}
'
{
  "simulation": "aSDinaTvuI8gbWludGxpZnk=",
  "error": {
    "executeSigningRequestsErrorCode": "EXECUTE_SIGNING_REQUESTS_ERROR_CODE_UNSPECIFIED",
    "message": "<string>"
  }
}
Re-simulates a signing request to get updated results (e.g. gas, success/failure). Useful before executing if conditions have changed since the request was created.

Authorizations

x-mtoken
string
header
required

Your API token. Required for all API requests.

Body

application/json
signingRequestUuid
string

required:true symbol_value:"9f5ee5fb-07f5-470c-a2ff-081e2d6d107a" comment:signing_request_uuid is the UUID of the signing request to be simulated.

Response

200 - application/json

Success

simulation
string<byte>

required:true symbol_value:"eyJtZXNzYWdlcyI6W3siYWRkcmVzcyI6IkVRRC1IR09CYlh4dzNQWWQ4SzM5TXN3SlZYN1lvb19oM1FTRWl1cFdFUXA2dWlOVSIsImFtb3VudCI6IjE5MDAwMDAwMCIsInBheWxvYWQiOiJ0ZTZjY2tFQkFnRUFwZ0FCckErS2ZxVUFBQUJUVVpIL0ZpQStpQUR2TzVrQ29uR3lvQnlKT0tVanorSk9jWVI2cnJhbUlBQWUxRXAzckE1d25RQWhCUlhOT04yMUFHa1NqN0hVaUJ5N0F2UHBwYmVialh2NWl0Z1h3VnpzSE1nTzVyS0JBUUNWSlpPRllZQUNLaGFqRmt4TldxTVRQekVRL3hCSmJnREtpc2lyNy94UUorQWswelNBdytZRWllc0FJUVVWelRqZHRRQnBFbyt4MUlnY3V3THo2YVczbTQxNytZcllGOEZjN0J6UUZKNjVtZz09In1dLCJ2YWxpZF91bnRpbCI6MTcyMjQ3NzQ3MDU4MiwiZnJvbSI6IjA6eDg0MTQ1NzM0RTM3NkQ0MDFBNDRBM0VDNzUyMjA3MkVDMEJDRkE2OTZERTZFMzVFRkU2MkI2MDVGMDU3M0IwNzMiLCJuZXR3b3JrIjoiLTIzOSJ9" comment:simulation is the simulation of the signing request.

error
execute_signing_requests_error_code · object