Skip to content
Permalink
Browse files

Add `listTransactions` function to `WalletClient`.

  • Loading branch information...
jonathanknowles committed Jul 12, 2019
1 parent 4a6152b commit 7834e9e70356ea43ecd44c30088f5849c54b4a26
Showing with 6 additions and 1 deletion.
  1. +6 −1 lib/cli/src/Cardano/CLI.hs
@@ -95,7 +95,7 @@ import Cardano.Launcher
, setupStateDir
)
import Cardano.Wallet.Api
( Api )
( Api, Iso8601Range (..) )
import Cardano.Wallet.Api.Server
( Listen (..) )
import Cardano.Wallet.Api.Types
@@ -773,6 +773,10 @@ data WalletClient t = WalletClient
:: ApiT WalletId
-> WalletPutPassphraseData
-> ClientM NoContent
, listTransactions
:: ApiT WalletId
-> Maybe (Iso8601Range "inserted-at")
-> ClientM [ApiTransaction t]
, postTransaction
:: ApiT WalletId
-> PostTransactionData t
@@ -813,6 +817,7 @@ walletClient =
, postWallet = _postWallet
, putWallet = _putWallet
, putWalletPassphrase = _putWalletPassphrase
, listTransactions = _listTransactions
, postTransaction = _postTransaction
, postTransactionFee = _postTransactionFee
}

0 comments on commit 7834e9e

Please sign in to comment.
You can’t perform that action at this time.