pub fn get_transaction_index(id: &str) -> usize
Gets the transaction index from the transaction ID.
id
The transaction index