HomePhabricator

[Cashtab] Update api to /v4/

Description

[Cashtab] Update api to /v4/

Summary:
Change backend endpoint from /v3/ to /v4/. Both instances of bch-api used by Cashtab have upgraded to the latest master from the psf repository at https://github.com/permissionless-Software-Foundation/bch-api

This version of bch-api uses /v4/ instead of /v3/ to denote some breaking changes, though it is still backwards compatible with /v3/.

This change does not impact the methods used by Cashtab currently. However, additional methods will only be available at the /v4/ endpoint.

Test Plan: npm test ; npm start and observe balance incl token balances are the same compared to cashtabapp.com

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D8972

Details

Provenance
Joey King <joseph.roy.king@gmail.com>Authored on Jan 19 2021, 23:23
bytesofmanPushed on Jan 20 2021, 11:44
Reviewer
Restricted Project
Differential Revision
D8972: [Cashtab] Update api to /v4/
Parents
rABC3dc43ee59f47: [Cashtab] Replace step with constant
Branches
Unknown
Tags
Unknown

Event Timeline

Joey King <joseph.roy.king@gmail.com> committed rABC4ffd405ed5ad: [Cashtab] Update api to /v4/ (authored by Joey King <joseph.roy.king@gmail.com>).Jan 20 2021, 11:44