Skip to content

Conversation

@felipemadero
Copy link
Collaborator

Currently, when listing ledger keys using the --ledger-indices flag, the command only queries and displays P-Chain information. This limits visibility into balances and addresses on other chains (X-Chain, C-Chain, and EVM-based subnets) for the same ledger indices. This PR extends the functionality to query and display information across all available chain types, providing users with a complete view of their ledger key holdings.

Extends ledger key query functionality to support P-Chain, X-Chain, C-Chain, and EVM-based chains instead of being limited to P-Chain only. Refactors getLedgerIndexInfo to query all available chain types for each ledger index.
Copy link
Contributor

@artemanosov artemanosov left a comment

Choose a reason for hiding this comment

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

Looks good. Is it possible to add tests?

@felipemadero
Copy link
Collaborator Author

Looks good. Is it possible to add tests?

Added

@felipemadero felipemadero merged commit 90a878f into main Nov 12, 2025
62 checks passed
@felipemadero felipemadero deleted the key-list-of-ledger-evm-cchain-xchain branch November 12, 2025 13:01
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.

3 participants