diff --git a/lib/node/fullnode.js b/lib/node/fullnode.js index 0dff21d3..1c0642b9 100644 --- a/lib/node/fullnode.js +++ b/lib/node/fullnode.js @@ -556,11 +556,15 @@ class FullNode extends Node { * Retrieve transactions pertaining to an * address from the mempool or chain database. * @param {Address} addr + * @param {Object} options + * @param {Number} options.limit + * @param {Number} options.reverse + * @param {Buffer} options.after * @returns {Promise} - Returns {@link TX}[]. */ - async getTXByAddress(addr) { - const mtxs = await this.getMetaByAddress(addr); + async getTXByAddress(addr, options = {}) { + const mtxs = await this.getMetaByAddress(addr, options); const out = []; for (const mtx of mtxs)