Account types
There are 3 types of accounts — regular accounts, token accounts, and
contract accounts.
1. Regular accounts are used for standard transactions.
2. Token accounts are used for storing TRC-10 tokens.
3. Contract accounts are smart contract accounts created by regular accounts and can be triggered by regular accounts as well.
An Account contains the following parameters:
1. account_name: the name for this account — e.g. BillsAccount.
2. type: what type of this account is — e.g. 0 (stands for regular account).
3. balance: balance of this account — e.g. 4213312.
4. vote: received votes on this account — e.g. {(“0x1b7w…9xj3”,323),
(“0x8djq…j12m”,88),…,(“0x82nd…mx6i”,10001)}.
5. asset: other assets expected TRX in this account — e.g. {<“WishToken”, 66666>, <”Dogie”,233>}.
6. latest_operation_time: the latest operation time of this account.
Create an account
You can register a random offline key pair (including the address and private key), but this key pair will not be recorded by the TRON network. To make this key pair an account in the TRON network, you need to call one of the following three apis with an account already existing in the TRON network:
Directly call the Create Account API
Transfer TRX to the new address
Transfer TRC10 tokens to the new account. (Note: TRC20 token transfer cannot activate the account.)
After the transaction is confirmed by the network, you can query the information of the account that matches the address in the TRON network. Creating an account burns 0.1 TRX from the creator, or consumes the bandwidth acquired by freezing.
Guide for TRONSCAN wallet
- Open TRONSCAN and click SIGN IN at the top right corner, then click IMPORT A WALLET.
2. Click CREATE WALLET.
3. Enter your password.
4. Download encrypted key. (Your password encrypts the private key and both are needed to access your wallet.)
5. Save your private key by copying it to a local file or printing a paper wallet.
6. You’ll be able to enter the account management page once you are successfully registered.