pub fn extract_transaction_index(log: &RpcLog) -> Result<u32>
Extract transaction index from RPC log.
Returns an error if the transaction index is missing or cannot be parsed.