diff --git a/apps/block_scout_web/lib/block_scout_web/templates/transaction_log/_logs.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/transaction_log/_logs.html.eex
index f55d52b6aa..b0afe771c1 100644
--- a/apps/block_scout_web/lib/block_scout_web/templates/transaction_log/_logs.html.eex
+++ b/apps/block_scout_web/lib/block_scout_web/templates/transaction_log/_logs.html.eex
@@ -1,4 +1,20 @@
+ <% decoded_result = decode(@log, @transaction) %>
+ <%= case decoded_result do %>
+ <%= {:error, :contract_not_verified, _cadidates} -> %>
+
+ <%= gettext "To see accurate decoded input data, the contract must be verified." %>
+ <%= case @transaction do %>
+ <% %{to_address: %{hash: hash}} -> %>
+ <%= gettext "Verify the contract " %>
<%= gettext "here" %>
+ <% _ -> %>
+ <%= nil %>
+ <% end %>
+
+ <% _ -> %>
+ <%= nil %>
+ <% end %>
+
- <%= gettext "Address" %>
-
@@ -84,7 +100,7 @@
<% end %>
- <% {:error, :contract_not_verified, results} when is_list(results) and not results == [] -> %>
+ <% {:error, :contract_not_verified, results} -> %>
<%= for {:ok, method_id, text, mapping} <- results do %>