index/functions/signChainDtoHash.md
signChainDtoHash(
privateKey,prefix,message):string
The personal-sign hash primitive (wallet signChainDtoHash): keccak256(prefix + message),
both verbatim, with no further EIP-191 wrap. message must be the DTO's serialization WITHOUT
its prefix field; callers holding a dApp-supplied string go through signChainDtoPersonalSign,
which derives both inputs from it.
private key sign chain dto hash personal
Parameters
| Parameter | Type |
|---|---|
privateKey | PrivateKeyInput |
prefix | string |
message | string |
private key input
Returns
string