MCPcopy Create free account
hub / github.com/ElementsProject/elements / tx_from_hex

Function tx_from_hex

test/functional/test_framework/messages.py:206–208  ·  view source on GitHub ↗

Deserialize from hex string to a transaction object

(hex_string)

Source from the content-addressed store, hash-verified

204
205
206def tx_from_hex(hex_string):
207 """Deserialize from hex string to a transaction object"""
208 return from_hex(CTransaction(), hex_string)
209
210
211# Objects that map to bitcoind objects, which can be serialized/deserialized

Callers 15

run_testMethod · 0.90
create_taproot_utxoMethod · 0.90
create_taproot_utxoMethod · 0.90
pegin_testMethod · 0.90
issuance_testMethod · 0.90
run_testMethod · 0.90
run_testMethod · 0.90
test_independentMethod · 0.90

Calls 2

from_hexFunction · 0.70
CTransactionClass · 0.70

Tested by 15

test_independentMethod · 0.72
test_conflictingMethod · 0.72
test_rbfMethod · 0.72
test_inv_blockMethod · 0.72
test_version2_relayMethod · 0.72