curl --request POST \
--url https://api.beta.getpara.com/v1/wallets/{walletId}/sign-raw \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"data": "0x48656c6c6f20576f726c64",
"encoding": "hex"
}
'import requests
url = "https://api.beta.getpara.com/v1/wallets/{walletId}/sign-raw"
payload = {
"data": "0x48656c6c6f20576f726c64",
"encoding": "hex"
}
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({data: '0x48656c6c6f20576f726c64', encoding: 'hex'})
};
fetch('https://api.beta.getpara.com/v1/wallets/{walletId}/sign-raw', 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-raw",
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([
'data' => '0x48656c6c6f20576f726c64',
'encoding' => 'hex'
]),
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-raw"
payload := strings.NewReader("{\n \"data\": \"0x48656c6c6f20576f726c64\",\n \"encoding\": \"hex\"\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-raw")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"data\": \"0x48656c6c6f20576f726c64\",\n \"encoding\": \"hex\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.beta.getpara.com/v1/wallets/{walletId}/sign-raw")
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 \"data\": \"0x48656c6c6f20576f726c64\",\n \"encoding\": \"hex\"\n}"
response = http.request(request)
puts response.read_body{
"signature": "a1b2c3d4e5f6..."
}Sign Raw
Sign raw bytes with a wallet’s private key share via MPC.
The input data is hex-encoded bytes. The MPC protocol signs these bytes
directly — no hashing or prefix is applied, and no chain-specific logic
is involved. This makes sign-raw suitable for any chain that uses
the same curve as the wallet’s key scheme:
- DKLS/CGGMP wallets (EVM, COSMOS) use secp256k1 — compatible with Bitcoin and any other secp256k1-based chain.
- ED25519 wallets (SOLANA, STELLAR, SUI) use Ed25519 — compatible with any Ed25519-based chain.
To use Para wallets with an unsupported chain, create a wallet with the
matching scheme (e.g., an EVM wallet for secp256k1), pre-hash your
transaction on the client side, then call sign-raw with the hash. Derive
the chain-specific address from the wallet’s publicKey.
Use sign-transaction or sign-message instead if you want Para to
handle chain-specific serialization for EVM, Solana, Stellar, or Sui.
The response signature is a hex string (no 0x prefix). For DKLS/CGGMP
schemes this is 65 bytes: r (32) + s (32) + v (1).
curl --request POST \
--url https://api.beta.getpara.com/v1/wallets/{walletId}/sign-raw \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"data": "0x48656c6c6f20576f726c64",
"encoding": "hex"
}
'import requests
url = "https://api.beta.getpara.com/v1/wallets/{walletId}/sign-raw"
payload = {
"data": "0x48656c6c6f20576f726c64",
"encoding": "hex"
}
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({data: '0x48656c6c6f20576f726c64', encoding: 'hex'})
};
fetch('https://api.beta.getpara.com/v1/wallets/{walletId}/sign-raw', 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-raw",
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([
'data' => '0x48656c6c6f20576f726c64',
'encoding' => 'hex'
]),
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-raw"
payload := strings.NewReader("{\n \"data\": \"0x48656c6c6f20576f726c64\",\n \"encoding\": \"hex\"\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-raw")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"data\": \"0x48656c6c6f20576f726c64\",\n \"encoding\": \"hex\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.beta.getpara.com/v1/wallets/{walletId}/sign-raw")
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 \"data\": \"0x48656c6c6f20576f726c64\",\n \"encoding\": \"hex\"\n}"
response = http.request(request)
puts response.read_body{
"signature": "a1b2c3d4e5f6..."
}Authorizations
Your partner secret key (server-side only)
Headers
UUID for request tracing. Para returns one if omitted.
For sponsored transfers, use the durable behavior documented on POST /transfer.
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.
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
Wallet UUID. A malformed or inaccessible wallet ID returns 404.
"0a1b2c3d-4e5f-6789-abcd-ef0123456789"
Body
Hex-encoded data to sign (optional 0x prefix; non-empty and an even number of hex characters)
2^(?:0[xX])?(?:[0-9a-fA-F]{2})+$"0x48656c6c6f20576f726c64"
Encoding of data. Only hex is supported; the value is case-insensitive.
3^[hH][eE][xX]$Expected wallet type. If provided and the wallet is a different type, the request is rejected.
EVM, SOLANA, COSMOS, STELLAR, SUI Response
Signature
Hex-encoded signature without 0x prefix. DKLS/CGGMP signatures are 65 bytes (r + s + v); ED25519 signatures are 64 bytes.
"a1b2c3d4e5f6..."