Skip to content

Commit

Permalink
Merge pull request #9 from BoboTiG/patch-1
Browse files Browse the repository at this point in the history
fix: document missing block event (reverted) in RUES
  • Loading branch information
Neotamandua authored Feb 14, 2025
2 parents aba250c + 220d1de commit ea49c1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/content/docs/developer/integrations/rues.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,10 +295,11 @@ a9909cd1...580a0000

#### Block Events

**Endpoint**: `/on/blocks:[block-hash]/[topic]`, where `[topic]` is optional. Block events can have the topic `accepted`, or `statechange`.
**Endpoint**: `/on/blocks:[block-hash]/[topic]`, where `[topic]` is optional. Block events can have the topic `accepted, `statechange`, or `reverted`.

- **accepted**: Indicates that a block has been accepted into the chain.
- **statechange**: Represents a change in the state of a block. The state of a block can be either `finalized` or `confirmed`.
- **reverted**: Indicates that a block has been removed from the chain because it got reverted during consensus.

**Method**: `GET`

Expand Down

0 comments on commit ea49c1a

Please sign in to comment.