From d3564b10e9615ccd29d2ea53cc9d11425c48740f Mon Sep 17 00:00:00 2001 From: Keith Irwin Date: Mon, 22 Apr 2024 20:40:43 -0600 Subject: [PATCH] feat: :sparkles: Added getTransfersByTxid() --- main.js | 3 +++ package.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/main.js b/main.js index 33a698c..6ebf52f 100644 --- a/main.js +++ b/main.js @@ -102,6 +102,9 @@ module.exports = class Wallet { async getTransfers(params) { return await this.rpc('get_transfers', params) } + async getTransfersByTxid(params) { + return await this.rpc('get_transfer_by_txid', params) + } // Make URI async makeUri(params) { return await this.rpc('make_uri', params) diff --git a/package.json b/package.json index 2337e13..8e8aa28 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "monero-wallet-rpc-js", "type": "commonjs", - "version": "1.2.21", + "version": "1.2.22", "description": "Javascript wrapper for monero-wallet-rpc calls", "main": "main.js", "scripts": {