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.

multibaseKey: string

accountAddress: string

Promise<Boolean>

utils/src/DidResolver.ts:142