getTwitterRegistryKey static method

SolAddress getTwitterRegistryKey({
  1. required String twitterHandle,
})

Implementation

static SolAddress getTwitterRegistryKey({required String twitterHandle}) {
  final hashedTwitterHandle = NameServiceProgramUtils.getHashedName(
    twitterHandle,
  );
  return NameServiceProgramUtils.getNameAccountProgram(
    hashedName: hashedTwitterHandle,
    nameParent: NameServiceProgramConst.twitterRootPrentRegisteryKey,
  );
}