The account-hash is a 32-byte hash of the public key and it represents the address of the user account. It is the identifier of the account inside a smart contract.
You must ensure the following prerequisites are met, before you can generate an account hash:
Generating Account Hash
To generate an account-hash use the following command:
casper-client account-address --public-key <PUBLIC KEY HEX CODE>
In the above output,
a2c2a41c282452195e5dd267272d12ed3e991467a5f881aab96306bac1cec3e8 is the account hash and the prefix
account-hash- is used to make it a tight key.