Skip to content

@lelantos-org/sdk / primitives / lelantosTypedDataHash

Function: lelantosTypedDataHash() ​

ts
function lelantosTypedDataHash(): string;

Defined in: @lelantos-org/sdk/dist/keys/metamask.d.ts:25

The digest a wallet signs, recomputed without a signer.

Encoded by crypto/eip712.ts, which supports only all-string structs, so keys/ has no runtime dependency on viem. encoding-parity.test.ts pins the result against an independent implementation: any drift derives a different nsk from the same wallet.

Returns ​

string