Skip to main content
POST
/
v1
/
wallets
/
{walletId}
/
sign-transaction
Sign Transaction
curl --request POST \
  --url https://api.beta.getpara.com/v1/wallets/{walletId}/sign-transaction \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "transaction": {
    "to": "0x742d35Cc6634C0532925a3b844Bc9e7595f...",
    "chainId": "1",
    "type": 0,
    "value": "0x2386f26fc10000",
    "data": "<string>",
    "nonce": 1,
    "gasLimit": "0x5208",
    "maxFeePerGas": "<string>",
    "maxPriorityFeePerGas": "<string>",
    "gasPrice": "<string>"
  },
  "networkPassphrase": "Public Global Stellar Network ; September 2015"
}
'
{
  "signedTransaction": "0x02f8..."
}

Authorizations

X-API-Key
string
header
default:sk_your_secret_key_here
required

Your partner secret key (server-side only)

Headers

X-Request-Id
string<uuid>

UUID for request tracing. Para returns one if omitted.

Idempotency-Key
string

Unique key for safe retries on POST endpoints. 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.

Maximum string length: 256

Path Parameters

walletId
string
required

Wallet ID

Example:

"0a1b2c3d-4e5f-6789-abcd-ef0123456789"

Body

application/json
transaction
required

EVM: JSON object with unsigned transaction fields. Solana: base64-encoded serialized transaction string. Stellar: base64-encoded XDR transaction envelope string. The API differentiates by the wallet's type (determined by walletId). Objects are treated as EVM transactions; strings are treated as Solana or Stellar transactions depending on the wallet type. For Stellar wallets, networkPassphrase is required.

networkPassphrase
string

Stellar network passphrase. Required when the wallet referenced by walletId is a STELLAR wallet. Ignored for other wallet types.

Example:

"Public Global Stellar Network ; September 2015"

Response

Signed transaction

signedTransaction
string
required

Signed transaction ready for broadcast. EVM: RLP-encoded hex string with 0x prefix. Solana: base64-encoded string. Stellar: base64-encoded XDR string.

Example:

"0x02f8..."