Skip to main content

Module tx

Module tx 

Source
Expand description

Transaction functions.

Functionsยง

add_tx_info_to_dynamic_tables
Adds the tx info and related data to the dynamic tables.
add_tx_info_to_tapes
Adds the tx info and related data to the tapes, this does not add the tx blob to the tapes.
get_num_tx
How many [Transaction]s are there?
get_tx
Retrieve a [Transaction] from the database with its TxHash.
get_tx_blob_from_id
Returns the tx-blob from a tx id.
get_tx_from_id
Retrieve a [Transaction] from the database with its TxId.
remove_tx_from_dynamic_tables
Removes a transaction from the dynamic tables.
tx_exists
Check if a transaction exists in the database.