waveschainex v0.2.0 Waveschainex.Utils

Link to this section Summary

Functions

Current Node time (UTC)

Link to this section Types

Link to this type option()
option() ::
  {:method, Tesla.Env.method()}
  | {:url, Tesla.Env.url()}
  | {:query, Tesla.Env.query()}
  | {:headers, Tesla.Env.headers()}
  | {:body, Tesla.Env.body()}
  | {:opts, Tesla.Env.opts()}

Link to this section Functions

Link to this function time(client, opts \\ [])
time(Tesla.Env.client(), keyword()) :: {:ok, nil} | {:error, Tesla.Env.t()}

Current Node time (UTC)

Parameters

  • client : Tesla client
  • opts: Optional parameters