Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose transaction streams in Daml Script #12098

Open
cocreature opened this issue Dec 10, 2021 · 0 comments
Open

Expose transaction streams in Daml Script #12098

cocreature opened this issue Dec 10, 2021 · 0 comments
Labels

Comments

@cocreature
Copy link
Contributor

For some tests it would be nice to get access to historic data in Daml Script, i.e., some form to read streams of transactions or transaction streams.

E.g., an API of the form

subscribe ::(Template t, IsParties p) => p -> Script (Subscription  t)
seen :: (Template t) => Subscription t -> [(ContractId t, t)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant