Example #1
0
 def get_tx_info(tx_hex, block_index=None):
     # block_index mandatory for transactions before block 335000
     source, destination, btc_amount, fee, data = blocks.get_tx_info(tx_hex, block_index=block_index)
     return source, destination, btc_amount, fee, util.hexlify(data) if data else ''
Example #2
0
 def get_tx_info(tx_hex):
     source, destination, btc_amount, fee, data = blocks.get_tx_info(
         tx_hex)
     return source, destination, btc_amount, fee, util.hexlify(data)
Example #3
0
 def get_tx_info(tx_hex, block_index=None):
     # block_index mandatory for transactions before block 335000
     source, destination, btc_amount, fee, data, extra = blocks.get_tx_info(
         tx_hex, block_index=block_index)
     return source, destination, btc_amount, fee, util.hexlify(
         data) if data else ''