Skip to main content

Function: signSerializedNative()

GalaChain core SDK 1.0.0-rc.8


GalaChain core SDK 1.0.0-rc.8 / index / signSerializedNative

Function: signSerializedNative()

signSerializedNative(privateKey, serializedDto): string

Defined in: packages/gala-core-sdk/dist/index.d.ts:1579

GalaChain NATIVE signature over an already-serialized DTO: keccak256 of the exact bytes, with no prefix and no signature envelope. The caller owns serialization, so the bytes shown to a user and the bytes signed can never diverge.

Parameters​

privateKey​

Uint8Array

serializedDto​

string

Returns​

string