Skip to main content
Sign a Tron transaction using the wallet’s private key. Returns the full signed transaction hex — you are responsible for broadcasting it.
For a combined sign-and-broadcast call, use tron_sendTransaction instead.

Idempotency on errors: On 4xx or 5xx, Privy caches the response and replays it for the same key. Generate a new key to retry after a server error. Policy violations are an exception and allow same-key retries.

Headers

string
required
ID of your Privy app.
string
Request authorization signature. If multiple signatures are required, they should be comma separated.

Path Parameters

string
required
ID of the Tron wallet to sign with.

Body

string
required
Must be "tron_signTransaction".
object
required

Returns

string
Always "tron_signTransaction".
string
The signed transaction hex: rawDataHex + signatureHex. The signature occupies the last 130 hex characters (65 bytes). Pass directly to POST /wallet/broadcasthex on a Tron full node, or use TronWeb.trx.sendRawTransaction().
string
Always "hex".