HomePhabricator

[Cashtab] Show token info on Send Token screen

Description

[Cashtab] Show token info on Send Token screen

Summary:
Fetch additional token info from API when the user navigates to the Send Token screen.

If the API call fails, render the token info already saved in wallet state. The info panel is only rendered if the API call returns a validated object. Unit tests are added for validation.

Test Plan: npm start, go to the send token screen, check out the stats

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

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

Details

Provenance
Joey King <joseph.roy.king@gmail.com>Authored on May 10 2021, 22:16
bytesofmanPushed on May 12 2021, 03:19
Reviewer
Restricted Project
Differential Revision
D9496: [Cashtab] Show token info on Send Token screen
Parents
rABC89eb5baefec1: [Cashtab] Change dust param from BCHA to sats
Branches
Unknown
Tags
Unknown