Packages

A simple Elixir API client for the Ark Blockchain.

Current section

Files

Jump to
arkecosystem_client lib arkecosystem client api two node.ex
Raw

lib/arkecosystem/client/api/two/node.ex

defmodule ArkEcosystem.Client.API.Two.Loader do
@moduledoc """
Documentation for ArkEcosystem.Client.API.One.Loader
"""
import ArkEcosystem.Client
@spec status(Tesla.Client.t()) :: ArkEcosystem.Client.response()
def status(client) do
client |> get("node/status")
end
@spec syncing(Tesla.Client.t()) :: ArkEcosystem.Client.response()
def syncing(client) do
client |> get("node/syncing")
end
@spec configuration(Tesla.Client.t()) :: ArkEcosystem.Client.response()
def configuration(client) do
client |> get("node/configuration")
end
end