Skip to content

verifyMultibaseKey

verifyMultibaseKey(multibaseKey, accountAddress): Promise<Boolean>

Verifies that the given multibase public key matches the provided SS58 address. Returns the raw public key if it matches, or null if invalid.

Parameters

multibaseKey: string

accountAddress: string

Returns

Promise<Boolean>

Source

utils/src/DidResolver.ts:142