Rename some Noves.fi proxy endpoints

pull/9439/head
Viktor Baranov 9 months ago
parent e7d2dd0ee4
commit a0e801ac41
  1. 10
      apps/block_scout_web/lib/block_scout_web/api_router.ex

@ -326,8 +326,16 @@ defmodule BlockScoutWeb.ApiRouter do
scope "/proxy" do scope "/proxy" do
scope "/noves-fi" do scope "/noves-fi" do
get("/transactions/:transaction_hash_param", V2.Proxy.NovesFiController, :transaction) get("/transactions/:transaction_hash_param", V2.Proxy.NovesFiController, :transaction)
# todo: remove in the future
get("/transactions/:transaction_hash_param/describe", V2.Proxy.NovesFiController, :describe_transaction) get("/transactions/:transaction_hash_param/describe", V2.Proxy.NovesFiController, :describe_transaction)
get("/addresses/:address_hash_param/transactions", V2.Proxy.NovesFiController, :address_transactions) get("/transactions/:transaction_hash_param/description", V2.Proxy.NovesFiController, :describe_transaction)
get(
"/addresses/:address_hash_param/transaction-descriptions",
V2.Proxy.NovesFiController,
:address_transactions
)
get("/transactions", V2.Proxy.NovesFiController, :describe_transactions) get("/transactions", V2.Proxy.NovesFiController, :describe_transactions)
end end

Loading…
Cancel
Save