iotaledger/wallet.rs

Add `node` parameter to `get_participation_event_ids` method

Closed this issue · 1 comments

Description

This task aims to add a node parameter to the get_participation_event_ids account method.

Motivation

Without this extra parameter, a user is unable to query a specific node for participation event IDs. They first must add that node to their client options, but even then it it not guaranteed that that node will be used in the request.

Requirements

  1. Query a given node for IDs of participation events that it is tracking

Open questions (optional)

  • Should the get_participation_event_ids method be on the Account or AccountManager? With this change, it means that the client options' nodes are no longer used to query participation event IDs, so it could arguably become an AccountManager method now that it will become account-agnostic.

Are you planning to do it yourself in a pull request?

Yes.

Let's wait until #1833 is implemented.