Tron Addresses
Import Private key
Import a Private key to use the secure wallet functionality for transactions.
post/api/v2/tron/addresses/import
Request
- Base URLhttps://app.chaingateway.io
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
Example request
{
"address": "architecto",
"privatekey": "architecto",
"password": "architecto"
}Response
Example response
{
"status": 201,
"ok": true,
"message": "Address imported successfully",
"data": []
}Changes
No recorded changes to this operation across all 1 revision of this API.