ripple-0.3: Ripple payment system library

Safe HaskellNone

Ripple.WebSockets

Contents

Synopsis

Base WebSocket helpers

sendJSON :: (ToJSON j, MonadIO m) => Connection -> j -> m ()Source

Ripple JSON result parsing and error handling

data RippleResult id a Source

The result of a WebSocket command -- either error or a response

Constructors

RippleResult (Maybe id) (Either RippleError a) 

Instances

(Eq id, Eq a) => Eq (RippleResult id a) 
(Show id, Show a) => Show (RippleResult id a) 
(FromJSON a, FromJSON id) => FromJSON (RippleResult id a) 

ripple_path_find

account_tx

data ResultAccountTX Source

(ledger_index, transaction+meta)

ledger

ledger_closed