added network.get_transaction_height

This commit is contained in:
Lex Berezhny 2019-05-05 17:17:36 -04:00
parent 5f1bc01636
commit ba8870823c

View file

@ -132,6 +132,9 @@ class BaseNetwork:
def get_transaction(self, tx_hash): def get_transaction(self, tx_hash):
return self.rpc('blockchain.transaction.get', [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): def get_merkle(self, tx_hash, height):
return self.rpc('blockchain.transaction.get_merkle', [tx_hash, height]) return self.rpc('blockchain.transaction.get_merkle', [tx_hash, height])