lisk-sdk icon indicating copy to clipboard operation
lisk-sdk copied to clipboard

Create and use util functions for converting response to JSON format for RPC endpoints

Open ishantiw opened this issue 3 years ago • 1 comments

Description

In order to be consistent and to avoid duplicity, create and use util functions for converting response to JSON format for RPC endpoints.

For example, convertBFTParametersToJSON(bftParameters: BFTParameters): BFTParametersJSON

Acceptance Criteria

  • Add unit tests for each util function

ishantiw avatar Jul 27 '22 13:07 ishantiw

If there is an schema, codec.toJSON can be used?

shuse2 avatar Aug 10 '22 07:08 shuse2

Closing this issue for no activity

shuse2 avatar Dec 20 '23 17:12 shuse2