network-bitcoin-0.1.3: Interface with Bitcoin RPC

Network.Bitcoin.Address

Contents

Synopsis

Types

data Address Source

Represents a Bitcoin receiving address. Construct one with mkAddress.

Instances

Show Address 
ToValue Address 

Functions

mkAddress :: String -> Maybe AddressSource

Construct an Address from a String. Returns Nothing if the string is not a valid Bitcoin address.

Only validates approximate address format. Does not validate address checksum. Until full validation is done, use isValidAddress RPC call instead