Page MenuHomePhabricator

[chronik-client] Add unconfirmedTxs method for mempool txs
Needs ReviewPublic

Authored by bytesofman on Fri, Dec 5, 01:05.

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

Recently added in chronik. Support and test for chronik-client.

I considered calling this mempoolTxs but I think there is more value in keeping consistency with the actual chronik endpoint names. We have existing unconfirmedTxs methods in different endpoints in chronik-client, e.g. for unconfirmed txs related to a certain txid. We are returning the same thing here but with no filtering. The calling API matches this.

Test Plan

npm test, CI