Function buildPostOperation

  • Build a top-level comment operation for a post without signing or broadcasting.

    The first normalized tag becomes the Layer 1 post category (parent_permlink). The returned operation is suitable for preview, tests, external signing or a later broadcast workflow. Throws ValidationError when no valid tag can be used as the top-level category.

    Parameters

    Returns CommentOperation