HTTP client for the ARC API.
Summary
Functions
Broadcast a transaction to the ARC API.
Create a new ARC client with the given configuration.
Query the status of a transaction by txid.
Types
@type t() :: %BSV.ARC.Client{config: BSV.ARC.Config.t(), req: Req.Request.t()}
Functions
@spec broadcast(t(), BSV.Transaction.t()) :: {:ok, BSV.ARC.Types.Response.t()} | {:error, term()}
Broadcast a transaction to the ARC API.
@spec new(BSV.ARC.Config.t()) :: t()
Create a new ARC client with the given configuration.
@spec status(t(), String.t()) :: {:ok, BSV.ARC.Types.Response.t()} | {:error, term()}
Query the status of a transaction by txid.