Safe Haskell | None |
---|---|
Language | Haskell98 |
JSON-RPC over HTTP. We only support Basic Authentication at the moment.
- data BitcoinURI = BitcoinURI (String, String) URI
- bitcoinURI :: String -> String -> Maybe String -> Maybe Int -> BitcoinURI
- rpcCall :: JSON a => BitcoinURI -> Request a -> IO (Either String Response)
Documentation
data BitcoinURI Source #
An URI plus username/password for basic auth
bitcoinURI :: String -> String -> Maybe String -> Maybe Int -> BitcoinURI Source #
Example:
myuri = bitcoinURI username password host port
Default host is 127.0.0.1, default port is 8332