1

How can I use the solana/web3.js library to access the data returned by the command solana validators --output json?

1 Answer 1

1

The getValidators function in the solana web3js library should return a list of validator public keys. These can then be passed in to getValidatorInfo to return the ValidatorInfo type containing more information about the validator.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.