Follow-up to #27125
This PR addresses a minor documentation and style nit mentioned during review:
- Adds the missing @param[in] blockmanline to theGetTransaction()doc comment.
- Moves the output parameter hashBlockto the end of both the function declaration and definition, as suggested in the comment.