Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADD: getSigningKeysWithQueueInfo #2148

Merged
merged 2 commits into from
Dec 17, 2024
Merged

Conversation

M4r71nW
Copy link
Contributor

@M4r71nW M4r71nW commented Dec 11, 2024

Example Output for Operator ID 39

Below is an example output from the getSigningKeysWithQueueInfo function when called with nodeOperatorId = 39.

This example demonstrates how the function returns an array of signing keys, each associated with a queuePosition. A queuePosition of 0 indicates that the key is not in the deposit queue, while non-zero values specify the position within the deposit queue.

[
  {
    "key": "0x93a7...3d63ef",
    "queuePosition": 0
  },
  {
    "key": "0x891b...970631",
    "queuePosition": 0
  },
  {
    "key": "0x830e...bdad68",
    "queuePosition": 0
  },
  {
    "key": "0xac05...63ae6f",
    "queuePosition": 0
  },
  {
    "key": "0x9420...9e25e",
    "queuePosition": 0
  },
  {
    "key": "0xa846...a8f62f",
    "queuePosition": 0
  },
  {
    "key": "0xb002...fef903e",
    "queuePosition": 0
  },
  {
    "key": "0xa889...06ab8e",
    "queuePosition": 0
  },
  {
    "key": "0x8259...943f30",
    "queuePosition": 0
  },
  {
    "key": "0x8e9c...697fb",
    "queuePosition": 0
  },
  {
    "key": "0xa4f4...86a94",
    "queuePosition": 10
  },
  {
    "key": "0xa09b...87240c",
    "queuePosition": 10
  }
]

@M4r71nW M4r71nW requested a review from NeoPlays December 11, 2024 12:44
Copy link
Member

@NeoPlays NeoPlays left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very nice 🚀

@NeoPlays NeoPlays merged commit 154e90c into stereum-dev:main Dec 17, 2024
4 checks passed
@M4r71nW M4r71nW deleted the queue_position branch December 23, 2024 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants