# Transactions offset in Dazl library

**URL:** <https://forum.canton.network/t/transactions-offset-in-dazl-library/5677>\
**Category:** App Development\
**Created:** [November 21, 2022, 3:32pm UTC](https://forum.canton.network/t/transactions-offset-in-dazl-library/5677 "2022-11-21T15:32:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yevhenii\_Potapenko](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/yevhenii_potapenko/32/4596_2.png) [@Yevhenii\_Potapenko](https://forum.canton.network/u/Yevhenii_Potapenko)\
**Post date:** [November 21, 2022, 3:32pm UTC](https://forum.canton.network/t/transactions-offset-in-dazl-library/5677/1 "2022-11-21T15:32:43Z")

</div>

Hi  
We are trying to build a python integration that will be working with the transactions service. Is there a way how we can pass the offset of the transactions in Dazl library?  
I went through the documentation of Dazl library and didn’t find any related information

---

<div class="post-metadata">

**Author:** ![dtanabe](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/dtanabe/32/91_2.png) [@dtanabe](https://forum.canton.network/u/dtanabe)\
**Post date:** [November 21, 2022, 4:24pm UTC](https://forum.canton.network/t/transactions-offset-in-dazl-library/5677/2 "2022-11-21T16:24:18Z")

</div>

Answered here with respect to offsets:

> [@Streaming help with dazl](https://discuss.daml.com/t/streaming-help-with-dazl/4649/2):
>
> .stream() takes an offset parameter, so you can simply pass that: async with conn.stream(offset="...") as stream: async for event in stream.creates(): ... But because you’d need to also get offsets, you’d need to use a slightly different API: async with conn.stream(offset="...") as stream: async for event in stream: if isinstance(event, CreateEvent): ... elif isinstance(event, Boundary): # remember this offset somehow ... =…

You’re right that it’s not in the docs; we’ll update the docs for the latest version of the library. Sorry about that!
