Function: signChainDtoHash()
GalaChain core SDK 1.0.0-rc.8 / index / signChainDtoHash
Function: signChainDtoHash()
signChainDtoHash(
privateKey,prefix,message):string
Defined in: packages/gala-core-sdk/dist/index.d.ts:1616
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.
Parameters
privateKey
prefix
string
message
string
Returns
string