v1

latestOpenAPI 3.0.32026-07-1320201.0 MB
Tron Addresses

Import Private key

Import a Private key to use the secure wallet functionality for transactions.

post/api/v2/tron/addresses/import

Headers

X-Network'testnet' | 'mainnet'

Specify "testnet" for test network or leave empty for main network. Defaults to "mainnet" if not provided.

Authorizationstring required

Bearer token for authorization. Required for authenticated endpoints.

Content-Type'application/json' | 'application/x-www-form-urlencoded' | 'multipart/form-data' required

The MIME type of the request body.

Request body

addressstring required
privatekeystring required
passwordstring required

Example request

{
  "address": "architecto",
  "privatekey": "architecto",
  "password": "architecto"
}

Response

statusinteger
okboolean
messagestring

Example response

{
  "status": 201,
  "ok": true,
  "message": "Address imported successfully",
  "data": []
}