Safe Haskell | None |
---|---|
Language | Haskell2010 |
Servant client for PAB
Synopsis
- data PabClient t walletId = PabClient {
- healthcheck :: ClientM ()
- fullreport :: ClientM (FullReport t)
- activateContract :: ContractActivationArgs t -> ClientM ContractInstanceId
- instanceClient :: ContractInstanceId -> InstanceClient t
- getWallet :: walletId -> Maybe Text -> ClientM [ContractInstanceClientState t]
- getInstances :: Maybe Text -> ClientM [ContractInstanceClientState t]
- getDefinitions :: ClientM [ContractSignatureResponse t]
- data InstanceClient t = InstanceClient {
- getInstanceStatus :: ClientM (ContractInstanceClientState t)
- getInstanceSchema :: ClientM (ContractSignatureResponse t)
- callInstanceEndpoint :: String -> Value -> ClientM ()
- stopInstance :: ClientM ()
- pabClient :: forall t walletId. (ToJSON t, FromJSON t, ToHttpApiData walletId) => PabClient t walletId
Documentation
data PabClient t walletId Source #
Client for PAB. The first type-argument is contract type that is used for PAB-simulator.
PabClient | |
|
data InstanceClient t Source #
Contract instance endpoints
InstanceClient | |
|