Blockfrost.Config (Blockfrost v0.1.1) View Source

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Returns config for a running instance

Validates options and turns them into a %Blockfrost.Config{} struct

Link to this section Types

Specs

t() :: %Blockfrost.Config{
  api_key: term(),
  name: term(),
  network: term(),
  network_uri: term(),
  retry_enabled?: term(),
  retry_interval: term(),
  retry_max_attempts: term()
}

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Specs

read(atom()) :: t()

Returns config for a running instance

Specs

validate!(Keyword.t()) :: t()

Validates options and turns them into a %Blockfrost.Config{} struct