post https://api.shasta.trongrid.io/wallet/createaccount
Create an account. Uses an already activated account to create a new account
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:
Field | Type | Description |
---|---|---|
owner_address | string | Transaction initiator address |
account_address | string | Account address to be activated |
type | int | Account type. The external account type is 0, and this field will not be displayed in the return value |
Note
- The expiration time of the http api creation transaction is 1 minute, so to complete the on-chain, you need to complete sign and broadcast the transaction within 1 minute after the creation.