Skip to content

@armada/sdk / index / tokenHashKey

Function: tokenHashKey()

tokenHashKey(tokenHash): string

Defined in: src/sync/balances.ts:120

Canonical registry-key form of a token hash: the 32-byte hex with any leading 0x removed. Owned-note hashes surface both with and without the prefix depending on their source, so the token registry is always keyed and queried through this normalizer.

Parameters

tokenHash

string

Returns

string