curl --request POST \
--url https://api.beta.getpara.com/v1/wallets/{walletId}/sign-typed-data \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"typedData": {
"domain": {
"name": "MyDApp",
"version": "1",
"chainId": 11155111,
"verifyingContract": "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC"
},
"types": {
"Mail": [
{
"name": "from",
"type": "address"
},
{
"name": "to",
"type": "address"
},
{
"name": "contents",
"type": "string"
}
]
},
"primaryType": "Mail",
"message": {
"from": "0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B",
"to": "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC",
"contents": "Hello, world!"
}
},
"initiatorUserId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reviewId": "<string>"
}
'import requests
url = "https://api.beta.getpara.com/v1/wallets/{walletId}/sign-typed-data"
payload = {
"typedData": {
"domain": {
"name": "MyDApp",
"version": "1",
"chainId": 11155111,
"verifyingContract": "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC"
},
"types": { "Mail": [
{
"name": "from",
"type": "address"
},
{
"name": "to",
"type": "address"
},
{
"name": "contents",
"type": "string"
}
] },
"primaryType": "Mail",
"message": {
"from": "0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B",
"to": "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC",
"contents": "Hello, world!"
}
},
"initiatorUserId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reviewId": "<string>"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
typedData: {
domain: {
name: 'MyDApp',
version: '1',
chainId: 11155111,
verifyingContract: '0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC'
},
types: {
Mail: [
{name: 'from', type: 'address'},
{name: 'to', type: 'address'},
{name: 'contents', type: 'string'}
]
},
primaryType: 'Mail',
message: {
from: '0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B',
to: '0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC',
contents: 'Hello, world!'
}
},
initiatorUserId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
reviewId: '<string>'
})
};
fetch('https://api.beta.getpara.com/v1/wallets/{walletId}/sign-typed-data', 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.beta.getpara.com/v1/wallets/{walletId}/sign-typed-data",
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([
'typedData' => [
'domain' => [
'name' => 'MyDApp',
'version' => '1',
'chainId' => 11155111,
'verifyingContract' => '0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC'
],
'types' => [
'Mail' => [
[
'name' => 'from',
'type' => 'address'
],
[
'name' => 'to',
'type' => 'address'
],
[
'name' => 'contents',
'type' => 'string'
]
]
],
'primaryType' => 'Mail',
'message' => [
'from' => '0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B',
'to' => '0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC',
'contents' => 'Hello, world!'
]
],
'initiatorUserId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'reviewId' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <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.beta.getpara.com/v1/wallets/{walletId}/sign-typed-data"
payload := strings.NewReader("{\n \"typedData\": {\n \"domain\": {\n \"name\": \"MyDApp\",\n \"version\": \"1\",\n \"chainId\": 11155111,\n \"verifyingContract\": \"0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC\"\n },\n \"types\": {\n \"Mail\": [\n {\n \"name\": \"from\",\n \"type\": \"address\"\n },\n {\n \"name\": \"to\",\n \"type\": \"address\"\n },\n {\n \"name\": \"contents\",\n \"type\": \"string\"\n }\n ]\n },\n \"primaryType\": \"Mail\",\n \"message\": {\n \"from\": \"0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B\",\n \"to\": \"0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC\",\n \"contents\": \"Hello, world!\"\n }\n },\n \"initiatorUserId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"reviewId\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<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.beta.getpara.com/v1/wallets/{walletId}/sign-typed-data")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"typedData\": {\n \"domain\": {\n \"name\": \"MyDApp\",\n \"version\": \"1\",\n \"chainId\": 11155111,\n \"verifyingContract\": \"0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC\"\n },\n \"types\": {\n \"Mail\": [\n {\n \"name\": \"from\",\n \"type\": \"address\"\n },\n {\n \"name\": \"to\",\n \"type\": \"address\"\n },\n {\n \"name\": \"contents\",\n \"type\": \"string\"\n }\n ]\n },\n \"primaryType\": \"Mail\",\n \"message\": {\n \"from\": \"0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B\",\n \"to\": \"0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC\",\n \"contents\": \"Hello, world!\"\n }\n },\n \"initiatorUserId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"reviewId\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.beta.getpara.com/v1/wallets/{walletId}/sign-typed-data")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"typedData\": {\n \"domain\": {\n \"name\": \"MyDApp\",\n \"version\": \"1\",\n \"chainId\": 11155111,\n \"verifyingContract\": \"0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC\"\n },\n \"types\": {\n \"Mail\": [\n {\n \"name\": \"from\",\n \"type\": \"address\"\n },\n {\n \"name\": \"to\",\n \"type\": \"address\"\n },\n {\n \"name\": \"contents\",\n \"type\": \"string\"\n }\n ]\n },\n \"primaryType\": \"Mail\",\n \"message\": {\n \"from\": \"0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B\",\n \"to\": \"0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC\",\n \"contents\": \"Hello, world!\"\n }\n },\n \"initiatorUserId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"reviewId\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"signature": "a1b2c3d4e5f6..."
}Sign Typed Data
Signs EIP-712 typed structured data. Only supported for EVM wallets.
Computes the EIP-712 hash of the provided domain, types, and message, then
signs via MPC. The EIP712Domain type is handled automatically and should
be omitted from types.
curl --request POST \
--url https://api.beta.getpara.com/v1/wallets/{walletId}/sign-typed-data \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"typedData": {
"domain": {
"name": "MyDApp",
"version": "1",
"chainId": 11155111,
"verifyingContract": "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC"
},
"types": {
"Mail": [
{
"name": "from",
"type": "address"
},
{
"name": "to",
"type": "address"
},
{
"name": "contents",
"type": "string"
}
]
},
"primaryType": "Mail",
"message": {
"from": "0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B",
"to": "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC",
"contents": "Hello, world!"
}
},
"initiatorUserId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reviewId": "<string>"
}
'import requests
url = "https://api.beta.getpara.com/v1/wallets/{walletId}/sign-typed-data"
payload = {
"typedData": {
"domain": {
"name": "MyDApp",
"version": "1",
"chainId": 11155111,
"verifyingContract": "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC"
},
"types": { "Mail": [
{
"name": "from",
"type": "address"
},
{
"name": "to",
"type": "address"
},
{
"name": "contents",
"type": "string"
}
] },
"primaryType": "Mail",
"message": {
"from": "0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B",
"to": "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC",
"contents": "Hello, world!"
}
},
"initiatorUserId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reviewId": "<string>"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
typedData: {
domain: {
name: 'MyDApp',
version: '1',
chainId: 11155111,
verifyingContract: '0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC'
},
types: {
Mail: [
{name: 'from', type: 'address'},
{name: 'to', type: 'address'},
{name: 'contents', type: 'string'}
]
},
primaryType: 'Mail',
message: {
from: '0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B',
to: '0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC',
contents: 'Hello, world!'
}
},
initiatorUserId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
reviewId: '<string>'
})
};
fetch('https://api.beta.getpara.com/v1/wallets/{walletId}/sign-typed-data', 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.beta.getpara.com/v1/wallets/{walletId}/sign-typed-data",
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([
'typedData' => [
'domain' => [
'name' => 'MyDApp',
'version' => '1',
'chainId' => 11155111,
'verifyingContract' => '0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC'
],
'types' => [
'Mail' => [
[
'name' => 'from',
'type' => 'address'
],
[
'name' => 'to',
'type' => 'address'
],
[
'name' => 'contents',
'type' => 'string'
]
]
],
'primaryType' => 'Mail',
'message' => [
'from' => '0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B',
'to' => '0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC',
'contents' => 'Hello, world!'
]
],
'initiatorUserId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'reviewId' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <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.beta.getpara.com/v1/wallets/{walletId}/sign-typed-data"
payload := strings.NewReader("{\n \"typedData\": {\n \"domain\": {\n \"name\": \"MyDApp\",\n \"version\": \"1\",\n \"chainId\": 11155111,\n \"verifyingContract\": \"0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC\"\n },\n \"types\": {\n \"Mail\": [\n {\n \"name\": \"from\",\n \"type\": \"address\"\n },\n {\n \"name\": \"to\",\n \"type\": \"address\"\n },\n {\n \"name\": \"contents\",\n \"type\": \"string\"\n }\n ]\n },\n \"primaryType\": \"Mail\",\n \"message\": {\n \"from\": \"0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B\",\n \"to\": \"0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC\",\n \"contents\": \"Hello, world!\"\n }\n },\n \"initiatorUserId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"reviewId\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<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.beta.getpara.com/v1/wallets/{walletId}/sign-typed-data")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"typedData\": {\n \"domain\": {\n \"name\": \"MyDApp\",\n \"version\": \"1\",\n \"chainId\": 11155111,\n \"verifyingContract\": \"0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC\"\n },\n \"types\": {\n \"Mail\": [\n {\n \"name\": \"from\",\n \"type\": \"address\"\n },\n {\n \"name\": \"to\",\n \"type\": \"address\"\n },\n {\n \"name\": \"contents\",\n \"type\": \"string\"\n }\n ]\n },\n \"primaryType\": \"Mail\",\n \"message\": {\n \"from\": \"0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B\",\n \"to\": \"0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC\",\n \"contents\": \"Hello, world!\"\n }\n },\n \"initiatorUserId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"reviewId\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.beta.getpara.com/v1/wallets/{walletId}/sign-typed-data")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"typedData\": {\n \"domain\": {\n \"name\": \"MyDApp\",\n \"version\": \"1\",\n \"chainId\": 11155111,\n \"verifyingContract\": \"0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC\"\n },\n \"types\": {\n \"Mail\": [\n {\n \"name\": \"from\",\n \"type\": \"address\"\n },\n {\n \"name\": \"to\",\n \"type\": \"address\"\n },\n {\n \"name\": \"contents\",\n \"type\": \"string\"\n }\n ]\n },\n \"primaryType\": \"Mail\",\n \"message\": {\n \"from\": \"0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B\",\n \"to\": \"0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC\",\n \"contents\": \"Hello, world!\"\n }\n },\n \"initiatorUserId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"reviewId\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"signature": "a1b2c3d4e5f6..."
}Authorizations
Headers
For sponsored transfers, use the durable behavior documented on POST /transfer.
Fee estimation does not cache responses. Omit this header for estimates; a key
already bound to a sponsored or automatic-retry transfer still returns 409 IDEMPOTENCY_CONFLICT.
Other POST endpoints use this key for safe retries. If a request with the same key
is received within 24 hours, the original response is returned without re-executing.
Recommended format: UUID v4. Max length 256 characters.
Returns 422 if the same key is reused with a different request body.
Returns 409 if a request with the same key is still being processed.
Legacy broadcast replays return the original response, not the latest chain outcome. For a persisted broadcast,
use the returned transactionId with GET transaction history to track its current status.
256Path Parameters
Body
The Para user who asked for this signature, when your backend signs on a user's behalf. The user must
have a wallet in your app, or the request fails with 400 and user is not linked to this app. If a
policy requires approval, Para keeps this user out of the approvers for the request, and the user can
cancel its approval case. Sponsored transfers do not accept this field and return 400
SPONSORSHIP_UNSUPPORTED_REQUEST.
An ordinary review that your backend approved for this request. Add it when you resend the identical
request with the same Idempotency-Key after a 403 POLICY_REVIEW_REQUIRED response that included a
reviewId. Para still checks that the request and the active policy match the review. See
Ordinary review.