Skip to content

Feat: Trace governance votes via websocket and keep in database #74

Description

@Errorist79

Subscribe method:

{
    "jsonrpc": "2.0",
    "method": "subscribe",
    "id": "0",
    "params": {
        "query": "tm.event='Tx' AND message.action CONTAINS 'MsgVote'"
    }
}

Content parsing:

Example content: https://gist.github.com/Errorist79/0bf3d82c16157bb07cd6966d047803b1

Parsing;

Proposal ID: proposal_vote.proposal_id

Voter: message.sender

Vote option: proposal_vote.option

Tx HASH: tx.hash

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions