bitcoin-api-0.12.1: Provides access to the RPC API of Bitcoin Core

Safe HaskellNone
LanguageHaskell2010

Network.Bitcoin.Api.Client

Synopsis

Documentation

data Client #

Client session data

Constructors

Client 

Fields

Instances

withClient :: String -> Int -> Text -> Text -> (Client -> IO a) -> IO a #

Initializes a client and prepares it for making requests against the Bitcoin RPC API. Connection reuse is provided, and cleanup of any acquired resources is handled automatically.