POST
/
95e61622bf6a8af293978377718e3b77
/
wallet
/
createaccount
wallet/createaccount
curl --request POST \
  --url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/createaccount \
  --header 'Content-Type: application/json' \
  --data '{
  "owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",
  "account_address": "TFgY1uN8buRxAtV2r6Zy5sG3ACko6pJT1y",
  "visible": true
}'
{
  "visible": true,
  "txID": "<string>",
  "raw_data": {},
  "raw_data_hex": "<string>"
}
TRON API method that creates a new account on the TRON blockchain. This method generates an unsigned transaction to activate a new account address by sending it TRX for the first time.
Get you own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

  • owner_address — the address that will create and pay for the new account. Must have sufficient TRX balance to cover the account creation fee.
  • account_address — the new account address to be created and activated on the blockchain.
  • visible — optional boolean parameter. When set to true, addresses are in base58 format. Default is false.

Response

  • visible — indicates the address format used in the response
  • txID — the transaction hash
  • raw_data — raw transaction data including:
    • contract — array containing the account creation contract
    • ref_block_bytes — reference block bytes
    • ref_block_hash — reference block hash
    • expiration — transaction expiration timestamp
    • timestamp — transaction creation timestamp
  • raw_data_hex — hexadecimal representation of the raw transaction

Use case

The wallet/createaccount method is used for:
  • Activating new TRON addresses on the blockchain.
  • Creating accounts for new users in wallet applications.
  • Setting up multi-signature or contract accounts.
  • Onboarding new users to the TRON ecosystem.
Note: The returned transaction must be signed and broadcast to complete the account creation.

Body

application/json

Response

200 - application/json

Unsigned account creation transaction

The response is of type object.