This is the main entry point of the @marlowe.io/runtime-lifecycle package. It provides a set of APIs to interact with the Marlowe Runtime.

This interface can be created from a wallet API instance or if you are in the browser from a wallet name.

Hierarchy

  • RuntimeLifecycle

Properties

applicableActions: ApplicableActionsAPI
contracts: ContractsAPI

The contracts API is a high level API that lets you create and interact with Marlowe contracts.

Deprecated

Use newContractAPI instead.

newContractAPI: NewContractsAPI

The new contract API is a high level API that lets you create and interact with Marlowe contracts.

payouts: PayoutsAPI
restClient: RestClient

Access to the low-level REST API as defined in the @marlowe.io/runtime-rest-client package. It is re-exported here for convenience.

wallet: WalletAPI

The wallet API as defined in the @marlowe.io/wallet package. It is re-exported here for convenience.