| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Marconi.Api.Routes
Documentation
type TxOutRefReport = JsonRpc "utxoTxOutReport" String String UtxoTxOutReport Source #
type TxOutRefsReport = JsonRpc "utxoTxOutReports" Int String [UtxoTxOutReport] Source #
type RpcAPI = Echo :<|> (TxOutRefReport :<|> (TxOutRefsReport :<|> (TargetAddressesReport :<|> Print))) Source #
type JsonRpcAPI = "json-rpc" :> RawJsonRpc RpcAPI Source #
type PrintMessage = "print" :> (ReqBody '[PlainText] String :> Post '[PlainText] NoContent) Source #
type RestAPI = "rest" :> (GetTime :<|> (GetTargetAddresses :<|> PrintMessage)) Source #