Create Wallet
This API endpoint allows users to create one or more new Tron wallets. The response includes the generated public and private keys for the requested number of wallets.
Note: You must provide a valid API key in the request headers to access this endpoint.
Endpoint
URL:
/api/tron/createWallet
Method:
POST
Content-Type:
application/json
API Key Header:
api-key: your-api-key
Request Body
Parameter
Type
Required
Description
amount
number
false
The number of wallets to create between 1 and 100
rpc
string
false
The RPC URL for connecting to Tron
Error Responses
Invalid Amount
This error occurs when the amount
parameter is not a valid integer between 1 and 100
Internal Server Error
This error occurs if there is an internal issue while creating wallets.
Response:
Last updated