• Given a string, will throw an error if it is not formatted as a valid content topic for autosharding based on https://rfc.vac.dev/spec/51/

    Parameters

    • contentTopic: string

      String to validate

    Returns ContentTopic

    Object with each content topic field as an attribute