bitcoin-api-0.12.1: Provides access to the RPC API of Bitcoin Core
Network.Bitcoin.Api.Client
Synopsis
data Client Source
Client session data
Constructors
Fields
The JSON RPC url
Default HTTP options to use with wreq requests
wreq
Connection reuse of our HTTP session
Instances
withClient :: String -> Int -> Text -> Text -> (Client -> IO a) -> IO a Source
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.