HomePhabricator

[Cashtab][Alias] Implement getAliasDetails

Description

[Cashtab][Alias] Implement getAliasDetails

Summary:
T3216

Add the new getAliasDetails function in aliasUtils.js to wrap around the fetch call to alias-server's alias endpoint.

This will be used for retrieving alias info (associated address, txid, blockheight) and also to check whether the alias is registered or not.

Test Plan:
npm test
npm start and sanity check Cashtab doesn't blow up with alias flag remaining as false

Reviewers: bytesofman, #bitcoin_abc

Reviewed By: bytesofman, #bitcoin_abc

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

Details

Provenance
emackAuthored on Jul 2 2023, 03:10
emackPushed on Jul 3 2023, 14:35
Reviewer
Restricted Project
Differential Revision
D14191: [Cashtab][Alias] Implement getAliasDetails
Parents
rABCa16df28cc0a5: [ecash-herald] Sort msgs by amount of xec sent
Branches
Unknown
Tags
Unknown