Change return format for the confirmFinishedTransaction method