Function extract_transaction_hash

Source
pub fn extract_transaction_hash(log: &Log) -> Result<String>
Expand description

Extracts the transaction hash from a log entry

§Errors

Returns an error if the transaction hash is not present in the log.