Function: signChainDtoNative()
GalaChain core SDK 1.0.0-rc.8 / index / signChainDtoNative
Function: signChainDtoNative()
signChainDtoNative(
privateKey,serializedDto):string
Defined in: packages/gala-core-sdk/dist/index.d.ts:1609
GalaChain NATIVE signature over an already-serialized DTO: keccak256 of the exact bytes with no
prefix and no envelope (wallet signChainDtoNative). The caller owns serialization, so the
bytes a user reviewed and the bytes signed cannot diverge.
Parameters
privateKey
serializedDto
string
Returns
string
130 lowercase hex characters, r || s || v with v = 1b/1c, no 0x.