Function: getPayloadToSign()
GalaChain core SDK 1.0.0-rc.8 / index / getPayloadToSign
Function: getPayloadToSign()
getPayloadToSign(
dto):string
Defined in: packages/gala-core-sdk/dist/index.d.ts:1532
The exact string GalaChain hashes for a DTO: the (optional, string) prefix field PREPENDED to
the deterministic serialization of the DTO WITHOUT signature, multisig, trace and prefix.
Equivalent to @gala-chain/api 3.x getPayloadToSign for every non-EIP-712 DTO.
Parameters
dto
Record<string, unknown>
Returns
string