<%= 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" %> |