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
bytesofmanPushed on Mar 6 2024, 00:57
Reviewer
Restricted Project
Differential Revision
D15638: [token-server] Add new function to determine if a given tx involves an address receiving a given tokenId
Parents
rABCb3f29c79ce36: [mock-chronik-client] Support ws.unsubscribe
Branches
Unknown
Tags
Unknown