Skip to main content

/wallet/createaccount RPC Method

Activate an account. Uses an already activated account to activate a new account.

Updated on
Jan 31, 2024

/wallet/createaccount RPC Method

Body Parameters

owner_address
string
REQUIRED
The owner account, represented by owner_address in hex string format, requires sufficient bandwidth obtained through freezing TRX for account creation. In case of inadequate bandwidth, 0.1 TRX will be burned for bandwidth, and an additional 1 TRX will be needed for account creation
account_address
string
REQUIRED
The address of the new account encoded in hex string
visible
boolean
A boolean value indicating whether the address is in base58 format
permission_id
integer
The ID of the permission that is required to execute the transaction

Returns

visible
A boolean value indicating whether the transaction is visible on the blockchain or not
txID
The id of the transaction
raw_data
The raw transaction data, including the contract and its parameters
contract
The details of the smart contract involved in the transaction
parameter
The parameter of the smart contract function being called in the transaction
value
The value being sent in the transaction
owner_address
The address of the owner of the token being transferred
account_address
The account address
type_url
The type of data being represented by the parameter or output
type
The type of smart contract
ref_block_bytes
The bytes of the previous block hash
ref_block_hash
The hash of the previous block
expiration
The expiration time of the transaction
timestamp
The timestamp of the transaction
raw_data_hex
The raw transaction data, encoded in hexadecimal format
Request
1
curl --location 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/createaccount' \
2
--header 'Content-Type: application/json' \
3
--data '{
4
"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",
5
"account_address": "TFgY1uN8buRxAtV2r6Zy5sG3ACko6pJT1y",
6
"visible": true
7
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free