0

This key previously worked with Kusama until the recent metadata update (with BEEFY key)

const keys = await api.query.session.nextKeys(address.address);
const keysHex = keys.toHex();
const result = await api.rpc.author.hasSessionKeys(keysHex);
const normalizedResult = result.toPrimitive();

But now this always returns false for Kusama (still works for chain Polkadot). If I check specific subkeys with hasKeys (like the new BEEFY), it returns true. What do I need to change for this to work with the new version of Polkadot SDK?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.