Skip to content

Streamline events related content #484

Open

Description

@tomerweller

These are the following resources about events

  1. Events (Basic Tutorials): a guide on publishing events targeting contract developers
  2. Events (Fundamentals and Concepts): contains two parts. The first describes events under the txmeta hood, targeting a fairly advanced audience. The second is an explanation on diagnostic events without going to specifics.
  3. getEvents json-rpc reference

I suggest the following changes:

  1. Add a Consuming Events section at the end of the Events basic tutorial that demonstrated querying the RPC service for the events emitted in the tutorial.
  2. Kill the Events fundamentals and concepts section. Digging into the txmeta is not something that we do elsewhere in the docs and seems a bit more confusing than beneficial, especially since we expect people to consume events through the rpc's getEvents method
  3. Add a Diagnostic Events reference section that outlines all known diagnostic events
  4. Add a reference in the Debugging section on using diagnostic events and link to the reference from it

Activity

  1. moved this from Backlog to To Do in Dev Docson Apr 25, 2024
  2. self-assigned this
    on Apr 25, 2024
  3. removed their assignment
    on Jan 10, 2025
  4. janewang commented on Jan 10, 2025

    @janewang
    Contributor

    May worth revisiting how events are described throughout our docs once we have unified events for classic and soroban

  5. moved this from Backlog to To Do in Platform Scrumon Jan 14, 2025
  6. removed their assignment
    on Mar 4, 2025
  7. mollykarcher commented on Mar 5, 2025

    @mollykarcher
    Contributor

    I'd agree with everything suggested in the description. There is a noted lack of how to consume/query/filter events from RPC in a tutorial-like flow. Tacking this on to the Events basic tutorial is a good idea, and we should make sure to reference back to that page from the RPC API/admin docs.

    To Jane's point, I think we should also add an end-to-end tutorial on how to consume and interpret transfer events (as defined by CAP-67/SEP-41).

  8. 2opremio commented on Mar 10, 2025

    @2opremio
    Contributor
    1. Add a Consuming Events section at the end of the Events basic tutorial that demonstrated querying the RPC service for the events emitted in the tutorial.

    I'd agree with everything suggested in the description. There is a noted lack of how to consume/query/filter events from RPC in a tutorial-like flow. Tacking this on to the Events basic tutorial is a good idea, and we should make sure to reference back to that page from the RPC API/admin docs.

    @tomerweller @mollykarcher Honest question, isn't that already provided by https://developers.stellar.org/docs/build/guides/events/consume ?

    3. Add a Diagnostic Events reference section that outlines all known diagnostic events

    I think they are currently burried in the Stellar Core code. I asked what's the best way to gather them.

    4. Add a reference in the Debugging section on using diagnostic events and link to the reference from it

    Makes sense

  9. Shaptic commented on Mar 11, 2025

    @Shaptic
    Contributor

    I was adding this partially in #1380 as part of #471, so @2opremio you can skip any SDK-related examples 🤙

  10. added
    documentation
    on Jul 13, 2026
  11. kaankacar commented on Sep 7, 2026

    @kaankacar
    Contributor

    🤖 Automated message from Kaan's Automated Triage Bot.

    I am looking at this issue now. I will report what I find.

  12. kaankacar commented on Sep 7, 2026

    @kaankacar
    Contributor

    🤖 Automated message from Kaan's Automated Triage Bot.

    Decision needed: do we close this as superseded, or keep it open for the diagnostic events reference only?

    I checked the four items in the description against the live docs on 2026-09-07.

    1. Consuming events in a tutorial flow: mostly done. See Query Events from Stellar RPC, Streaming events and Reading events. The events example contract still does not link to any of them.
    2. Kill the Events fundamentals page: this now looks wrong. That page is the reference for the protocol 23 unified event model. It documents TransactionMetaV4, the classic transfer, mint, burn, clawback, fee and set_authorized events, and EMIT_CLASSIC_EVENTS. Jane asked to revisit after unified events shipped. They shipped, on that page.
    3. Diagnostic events reference: still open. The page documents only fn_call and fn_return. Fons said the rest sit in Stellar Core code.
    4. Debugging section reference: partly done. Debugging Errors names diagnostic events many times, but links to no reference.

    Molly's transfer events request also looks covered. See Events: SEP-41 Tokens vs. Stellar Asset Contracts and Monitoring Payments as event stream.

    Options:

    1. Close this issue. Open one new issue for the diagnostic events reference, which covers items 3 and 4.
    2. Keep this issue open, but re-scope it to items 3 and 4. Drop items 1 and 2.
    3. Keep the full plan, including the page deletion in item 2.

    I can do the two small link fixes in items 1 and 4 today. Item 3 needs an authoritative list of diagnostic events from Stellar Core. Please say who can supply that list.

    @kaankacar @ElliotFriend

  13. added
    bot:needs-decision
    on Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bot:needs-decisiondocumentationplatform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions