Exemplo n.º 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 ''
Exemplo n.º 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)
Exemplo n.º 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 ''