HomePhabricator

[token-server] Add new function to determine if a given tx involves an address…

Description

[token-server] Add new function to determine if a given tx involves an address receiving a given tokenId

Summary: Add tested function addressReceivedToken, returning true if any output in a tx has a given tokenId at a given address

Test Plan: npm test

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

Subscribers: emack

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

Details

Provenance
bytesofmanAuthored on Mar 5 2024, 22:57
teamcityPushed on Mar 6 2024, 00:59
Parents
rSTAGINGb3f29c79ce36: [mock-chronik-client] Support ws.unsubscribe
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/45962, tag: phabricator/base/45959

Event Timeline