Skip to main content
POST
Sign Transaction

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

Required for autoRetry. Save one key and the complete request before submitting. Replays return the original operation without refreshing its deadline; changed payloads or routes return IDEMPOTENCY_CONFLICT. Ordinary calls retain the optional 24-hour response cache.

Maximum string length: 256

Path Parameters

walletId
string<uuid>
required

Wallet UUID. A malformed or inaccessible wallet ID returns 404.

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. Sui: base64-encoded, BCS-serialized transaction (TransactionData) string. The API differentiates by the wallet's type (determined by walletId). Objects are treated as EVM transactions; strings are treated as Solana, Stellar, or Sui 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"

network
enum<string>

Solana network to broadcast to when broadcast: true. Uses the same environment rules as POST /transfer.

Available options:
SOLANA,
SOLANA_DEVNET
broadcast
boolean
default:false

When true, broadcast an EVM or Solana transaction. Ordinary calls return signed bytes and identifiers; autoRetry calls return 202 with durable retry state before signing. Omitted or false remains sign-only and rejects autoRetry. Stellar and Sui reject broadcast:true.

autoRetry
object

Requires broadcast:true and a durable Idempotency-Key. EVM accepts only transaction, broadcast, autoRetry and optional matching walletType; Solana additionally accepts network and versioned:false. Review, initiator and sponsorship fields are unsupported. See the operation description for the exact supported transaction shapes.

versioned
boolean

Optional Solana selector. Managed autoRetry accepts only false; versioned messages are unsupported for retry.

walletType
enum<string>

Wallet type to sign as. Defaults to the wallet's type. If the wallet cannot sign as this type, the request is rejected.

Available options:
EVM,
SOLANA,
STELLAR,
SUI
initiatorUserId
string<uuid>

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.

reviewId
string

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.

Response

Signed transaction

Response shape depends on wallet type. EVM, Solana, and Stellar return signedTransaction; Sui returns signature and the unchanged 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..."

txHash
string

Transaction hash. Present only when broadcast: true succeeds.

Example:

"0x1234abcd..."

transactionId
string<uuid>

Persisted transaction record id. Present only when broadcast: true creates a transaction-history row.

Example:

"550e8400-e29b-41d4-a716-446655440000"