Skip to content

Commit

Permalink
Merge pull request #35 from aurora-is-near/api_v2
Browse files Browse the repository at this point in the history
Extend api/v2/transactions
  • Loading branch information
spilin authored Oct 25, 2023
2 parents 7579791 + 6b88aeb commit 9a67d67
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,9 @@ defmodule BlockScoutWeb.API.V2.TransactionView do
"method" => method_name(transaction, decoded_input),
"tx_types" => tx_types(transaction),
"tx_tag" => GetTransactionTags.get_transaction_tags(transaction.hash, current_user(single_tx? && conn)),
"has_error_in_internal_txs" => transaction.has_error_in_internal_txs
"has_error_in_internal_txs" => transaction.has_error_in_internal_txs,
"near_receipt_hash" => transaction.near_receipt_hash,
"near_transaction_hash" => transaction.near_transaction_hash
}

if Application.get_env(:explorer, :chain_type) == "polygon_edge" && single_tx? do
Expand Down

0 comments on commit 9a67d67

Please sign in to comment.