diff --git a/clients/nodejs/modules/JsonRpcServer.js b/clients/nodejs/modules/JsonRpcServer.js index a88eaf63d..e2ffc12a4 100644 --- a/clients/nodejs/modules/JsonRpcServer.js +++ b/clients/nodejs/modules/JsonRpcServer.js @@ -105,6 +105,7 @@ class JsonRpcServer { this._methods.set('getTransactionByBlockHashAndIndex', this.getTransactionByBlockHashAndIndex.bind(this)); this._methods.set('getTransactionByBlockNumberAndIndex', this.getTransactionByBlockNumberAndIndex.bind(this)); this._methods.set('getTransactionByHash', this.getTransactionByHash.bind(this)); + this._methods.set('getTransactionByHash2', this.getTransactionByHash.bind(this)); this._methods.set('getTransactionReceipt', this.getTransactionReceipt.bind(this)); this._methods.set('getTransactionsByAddress', this.getTransactionsByAddress.bind(this)); this._methods.set('mempoolContent', this.mempoolContent.bind(this));