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 totrue, addresses are in base58 format. Default isfalse.
Response
visible— indicates the address format used in the responsetxID— the transaction hashraw_data— raw transaction data including:contract— array containing the account creation contractref_block_bytes— reference block bytesref_block_hash— reference block hashexpiration— transaction expiration timestamptimestamp— transaction creation timestamp
raw_data_hex— hexadecimal representation of the raw transaction
Use case
Thewallet/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.
curl example
The node validates that theowner_address can cover the protocol’s account creation fee. If the owner is not funded, you will get a validation error instead of an unsigned transaction.
Shell
wallet/broadcasttransaction or wallet/broadcasthex.
you can also create an account implicitly by sending TRX to a new address; on first receipt the account is created and the sender pays the creation fee. Addresses can be provided in base58 with
visible: true or in hex with visible: false.end-to-end steps
1
check the payer balance
Use
wallet/getaccount to confirm the owner_address has enough TRX to cover the account creation fee.Shell
2
option: use nile testnet
For testing, you can use a Nile endpoint and get test TRX from the faucet. Replace with your own Nile endpoint from the console.Fund
Shell
owner_address with test TRX from the Nile faucet, then run the call again.3
sign and broadcast
On success, you receive an unsigned transaction. Sign the
raw_data with your private key and broadcast via wallet/broadcasttransaction or provide the built hex to wallet/broadcasthex.getting
insufficient fee is expected when the payer has no TRX. Fund the owner_address first or create the account implicitly by sending TRX to the new address.Body
application/json
The existing account that pays the account creation fee. Must have sufficient TRX.
The new account address to be activated.
When true, addresses are base58; when false, hex.