getting transaction details from the server