Function: signNative()
GalaChain core SDK 1.0.0-rc.8 / index / signNative
Function: signNative()
signNative(
privateKey,dto):string
Defined in: packages/gala-core-sdk/dist/index.d.ts:1584
GalaChain NATIVE signature for a DTO: keccak256 of getPayloadToSign(dto), signed with
secp256k1. Byte-identical to signatures.getSignature from @gala-chain/api.
Parameters
privateKey
Uint8Array
dto
Record<string, unknown>
Returns
string