Create an account
Create an account using the account create API
A transaction that creates a Hedera account. A Hedera account is required to interact with any of the Hedera network services as you need an account to pay for all associated transaction/query fees. You can visit the Hedera Developer Portal to create a previewnet or testnet account. You can also use third-party wallets to generate free mainnet accounts. To process an account create transaction, you will need an existing account to pay for the transaction fee. To obtain the new account ID, request the receipt of the transaction.
When creating a new account using theAccountCreateTransaction()
API you will need an existing account to pay for the associated transaction fee.
Account Properties
Account PropertiesTransaction Fees
Please see the transaction and query fees table for the base transaction fee
Please use the Hedera fee estimator to estimate your transaction fee cost
Transaction Signing Requirements
The account paying for the transaction fee is required to sign the transaction
Methods
Method | Type | Requirement |
---|---|---|
| Key | Required |
| EvmAddress | Optional |
| HBar | Optional |
| boolean | Optional |
| int | Optional |
| AccountId | Optional |
| long | Optional |
| boolean | Optional |
| String | Optional |
| Duration | Disabled |
Get transaction values
Method | Type | Description |
---|---|---|
| Key | Returns the public key on the account |
| Hbar | Returns the initial balance of the account |
| Duration | Returns the auto renew period on the account |
| boolean | Returns whether or not the account declined rewards |
| long | Returns the node ID |
| AccountId | Returns the node account ID |
| boolean | Returns whether the receiver signature is required or not |
Last updated