index/functions/signChainDtoNative.md
signChainDtoNative(
privateKey,serializedDto):string
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.
private key serialized dto sign chain native
Parameters
| Parameter | Type |
|---|---|
privateKey | PrivateKeyInput |
serializedDto | string |
private key input serialized dto
Returns
string
130 lowercase hex characters, r || s || v with v = 1b/1c, no 0x.