|
|
@ -68,6 +68,7 @@ defmodule BlockScoutWeb.API.RPC.TransactionView do |
|
|
|
"input" => "#{transaction.input}", |
|
|
|
"input" => "#{transaction.input}", |
|
|
|
"gasLimit" => "#{transaction.gas}", |
|
|
|
"gasLimit" => "#{transaction.gas}", |
|
|
|
"gasUsed" => "#{transaction.gas_used}", |
|
|
|
"gasUsed" => "#{transaction.gas_used}", |
|
|
|
|
|
|
|
"gasPrice" => "#{transaction.gas_price.value}", |
|
|
|
"logs" => Enum.map(logs, &prepare_log/1), |
|
|
|
"logs" => Enum.map(logs, &prepare_log/1), |
|
|
|
"next_page_params" => next_page_params |
|
|
|
"next_page_params" => next_page_params |
|
|
|
} |
|
|
|
} |
|
|
|