Skip to main content
A transaction that updates the properties of an existing account. The network will store the latest updates on the account. If you would like to retrieve the state of an account in the past, you can query a mirror node. Account Properties

Account Properties

Transaction Fees
  • The sender pays for the token association fee and the rent for the first auto-renewal period.
  • Please see the transaction and query fees table for the base transaction fee.
  • Please use the Hedera fee estimator to estimate the cost of your transaction fee.
Transaction Signing Requirements
  • The account key(s) are required to sign the transaction.
  • If you are updating the keys on the account, the OLD KEY and NEW KEY must sign.
    • If either is a key list, the key list keys are all required to sign.
    • If either is a threshold key, the threshold value is required to sign.
  • If you do not have the required signatures, the network will throw an INVALID_SIGNATURE error.

Maximum Auto-Associations and Fees

Accounts have a property, maxAutoAssociations, and the property’s value determines the maximum number of automatic token associations allowed.
The sender pays the maxAutoAssociations fee and the rent for the first auto-renewal period for the association. This is in addition to the typical transfer fees. This ensures the receiver can receive tokens without association and makes it a smoother transfer process.
Reference: HIP-904

Methods

setDelegationAddress (HIP-1340)Sets, changes, or clears the account’s EOA Code Delegation. The address must be exactly 20 bytes and can be provided as raw bytes, a hex string (with or without the 0x prefix), or an EvmAddress. Pass 0x0000000000000000000000000000000000000000 or null to clear an existing delegation. After update, any EVM call to the account’s address executes the delegate’s code in the account’s storage context.For ECDSA accounts with a public-key-derived alias, you can alternatively configure delegation via an EIP-7702 Type 4 Ethereum transaction. ED25519 accounts and ECDSA accounts with a long-zero alias must use this HAPI path. See EOA Code Delegation.

Example: set a delegation target

JavaScript

Example: clear an existing delegation

JavaScript

Get transaction values

Return the properties of an account create transaction.