CreateAccount

Activate an account. Uses an already activated account to activate a new account. Users have to generate an account locally with wallet-cli or others SDKs like TronWeb, and then use this API to activate the account generated, or just simply transfer TRX to it.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Returns

Transaction - JSON object: Unsigned transaction, please refer to the Transaction chapter for the fields contained in it. Since the transaction type is AccountCreateContract, the fields contained in raw_data.contract[0].parameter.value in the transaction are as follows:

FieldTypeDescription
owner_addressstringTransaction initiator address.
account_addressstringAccount address to be activated.
typeintAccount type (e.g., 0 for external accounts).
📘

Note

  • The expiration time for transactions created via the HTTP API is 1 minute.

    To ensure the transaction is successfully recorded on-chain, please complete the signing and broadcasting within 1 minute of its creation.

Body Params
string
required

Transaction initiator address (format: Base58 or Hex). Example: TUoHaVjx7n5xz8LwPRDckgFrDWhMhuSuJM

string
required

Address of the account to be activated (format: Base58 or Hex). Example: TUZKijZ9Esy8JEkrqMpaVgtbDKKNA5p5CZ

boolean

Set to true to format addresses in Base58; set to false for hex format. (Default: false)

int32

Permission ID used for multi-signature.

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json