Page
Library
Module
Module type
Parameter
Class
Class type
Source
BitcoinSourceOCaml interface to the official Bitcoin client API.
Interface that any module offering HTTP POST client calls must obey. Note that the module may require POST calls to be wrapped under a custom monad, which must also be provided (use the identity monad if no actual monad is required).
Module encapsulating all connection information.
Converts a BTC quantity expressed as a float into its amount_t representation.
Converts a BTC quantity expressed as an amount_t into its float representation.
module Make
(Httpclient : HTTPCLIENT)
(Connection : CONNECTION) :
ENGINE with type 'a monad_t = 'a Httpclient.Monad.tFunctor that takes a concrete implementation of a HTTPCLIENT and actual CONNECTION information, and creates a module with signature ENGINE offering an API for communicating with a Bitcoin client.