From ba8870823c21f05658d8e9f0f9b698278565bdb8 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Sun, 5 May 2019 17:17:36 -0400 Subject: [PATCH] added network.get_transaction_height --- torba/client/basenetwork.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/torba/client/basenetwork.py b/torba/client/basenetwork.py index d6ef84dc2..e575aa23d 100644 --- a/torba/client/basenetwork.py +++ b/torba/client/basenetwork.py @@ -132,6 +132,9 @@ class BaseNetwork: def get_transaction(self, tx_hash): return self.rpc('blockchain.transaction.get', [tx_hash]) + def get_transaction_height(self, tx_hash): + return self.rpc('blockchain.transaction.get_height', [tx_hash]) + def get_merkle(self, tx_hash, height): return self.rpc('blockchain.transaction.get_merkle', [tx_hash, height])