<%= gettext("Showing %{count} Pending Transactions", count: @transactions.total_entries) %>

<%= pagination_links @conn, @transactions, ["en"], view_style: :bulma, first: true, distance: 1, previous: Phoenix.HTML.raw("‹"), next: Phoenix.HTML.raw("›"), path: &pending_transaction_path/4 %>
<%= for transaction <- @transactions do %> <% end %>
<%= gettext "Hash" %> <%= gettext "Last Seen" %> <%= gettext "Gas Price" %> <%= gettext "Gas Limit" %> <%= gettext "From" %> <%= gettext "To" %> <%= gettext "Value" %>
<%= link(transaction.hash, to: transaction_path(@conn, :show, @conn.assigns.locale, transaction.hash)) %>
<%= transaction.last_seen %> <%= transaction.gas_price %> <%= transaction.gas_limit %>
<%= if transaction.to_address_hash do %> <%= link(transaction.to_address_hash, to: address_path(@conn, :show, @conn.assigns.locale, transaction.to_address_hash)) %> <% else %> <%= gettext "Pending" %> <% end %>
<%= if transaction.from_address_hash do %> <%= link(transaction.from_address_hash, to: address_path(@conn, :show, @conn.assigns.locale, transaction.from_address_hash)) %> <% else %> <%= gettext "Pending" %> <% end %>
<%= Decimal.div(Decimal.new(transaction.value), Decimal.new(1_000_000_000_000_000_000)) |> Decimal.to_string(:normal) %> <%= gettext "POA" %>