You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Events (Basic Tutorials): a guide on publishing events targeting contract developers
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.
getEvents json-rpc reference
I suggest the following changes:
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.
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
Add a Diagnostic Events reference section that outlines all known diagnostic events
Add a reference in the Debugging section on using diagnostic events and link to the reference from it
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).
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.
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.
Diagnostic events reference: still open. The page documents only fn_call and fn_return. Fons said the rest sit in Stellar Core code.
Debugging section reference: partly done.Debugging Errors names diagnostic events many times, but links to no reference.
Close this issue. Open one new issue for the diagnostic events reference, which covers items 3 and 4.
Keep this issue open, but re-scope it to items 3 and 4. Drop items 1 and 2.
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.
Activity
janewang commentedon Jan 10, 2025
May worth revisiting how events are described throughout our docs once we have unified events for classic and soroban
mollykarcher commentedon Mar 5, 2025
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
Eventsbasic 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).
2opremio commentedon Mar 10, 2025
@tomerweller @mollykarcher Honest question, isn't that already provided by https://developers.stellar.org/docs/build/guides/events/consume ?
I think they are currently burried in the Stellar Core code. I asked what's the best way to gather them.
Makes sense
Shaptic commentedon Mar 11, 2025
I was adding this partially in #1380 as part of #471, so @2opremio you can skip any SDK-related examples 🤙
kaankacar commentedon Sep 7, 2026
🤖 Automated message from Kaan's Automated Triage Bot.
I am looking at this issue now. I will report what I find.
kaankacar commentedon Sep 7, 2026
🤖 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.
TransactionMetaV4, the classictransfer,mint,burn,clawback,feeandset_authorizedevents, andEMIT_CLASSIC_EVENTS. Jane asked to revisit after unified events shipped. They shipped, on that page.fn_callandfn_return. Fons said the rest sit in Stellar Core code.Molly's transfer events request also looks covered. See Events: SEP-41 Tokens vs. Stellar Asset Contracts and Monitoring Payments as event stream.
Options:
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