You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The scope of this task is to add GET and POST endpoints to bch-api as well as unit and integration tests for a 'get raw transaction data' endpoint for Electrumx.
This is one of series of tasks to port Insomnia REST API to bch-api and bch-js. I've already completed the 'address balance', 'UTXOs', and 'Transaction history' endpoints for you to follow as an example.
For this task, you should submit a PR to the bch-api repository to edit the bch-api/electrumx.js file, in order to add GET and POST endpoints to duplicate the Insomnia /tx/data/{txid} endpoint in bch-api. The verbose option should be set to true by default. You can see how I've implemented the GET and POST endpoints for the first three endpoints. Follow that pattern.
Acceptance Criteria
Add GET and POST endpoints to electrumx.js in bch-api.
Add api-doc documentation to electrumx.js.
Add unit and integration tests for these new endpoints in bch-api.
The text was updated successfully, but these errors were encountered:
The scope of this task is to add GET and POST endpoints to bch-api as well as unit and integration tests for a 'get raw transaction data' endpoint for Electrumx.
This is one of series of tasks to port Insomnia REST API to bch-api and bch-js. I've already completed the 'address balance', 'UTXOs', and 'Transaction history' endpoints for you to follow as an example.
For this task, you should submit a PR to the bch-api repository to edit the bch-api/electrumx.js file, in order to add GET and POST endpoints to duplicate the Insomnia /tx/data/{txid} endpoint in bch-api. The
verbose
option should be set totrue
by default. You can see how I've implemented the GET and POST endpoints for the first three endpoints. Follow that pattern.Acceptance Criteria
The text was updated successfully, but these errors were encountered: