Fix comment

pull/9062/head
Lymarenko Lev 11 months ago
parent 98385a5c8d
commit 0db3a3173f
  1. 4
      apps/explorer/lib/explorer/microservice_interfaces/bens.ex

@ -35,7 +35,7 @@ defmodule Explorer.MicroserviceInterfaces.BENS do
| Withdrawal.t() | Withdrawal.t()
@doc """ @doc """
Batch request for ENS names via {{baseUrl}}/api/v1/:chainId/addresses:batch-resolve-names Batch request for ENS names via POST {{baseUrl}}/api/v1/:chainId/addresses:batch-resolve-names
""" """
@spec ens_names_batch_request([binary()]) :: {:error, :disabled | binary() | Jason.DecodeError.t()} | {:ok, any} @spec ens_names_batch_request([binary()]) :: {:error, :disabled | binary() | Jason.DecodeError.t()} | {:ok, any}
def ens_names_batch_request(addresses) do def ens_names_batch_request(addresses) do
@ -49,7 +49,7 @@ defmodule Explorer.MicroserviceInterfaces.BENS do
end end
@doc """ @doc """
Request for ENS name via {{baseUrl}}/api/v1/:chainId/addresses:lookup Request for ENS name via GET {{baseUrl}}/api/v1/:chainId/addresses:lookup
""" """
@spec address_lookup(binary()) :: {:error, :disabled | binary() | Jason.DecodeError.t()} | {:ok, any} @spec address_lookup(binary()) :: {:error, :disabled | binary() | Jason.DecodeError.t()} | {:ok, any}
def address_lookup(address) do def address_lookup(address) do

Loading…
Cancel
Save