1

For someone not running a validator, what would be the best method to listen in on gossip, getting staked amount, block, etc. "solana gossip" is giving me some of that information but not all.

1 Answer 1

3

From your question, it basically sounds like you want all of the information (gossip traffic, newly created blocks, etc) that a validator has access to without running a validator. If you want all of this data in real time, then your only option is running a validator.

That being said, one item that may be of interest to you is that you can run a non-voting validator by passing --no-voting argument. This will save you the voting costs, but the hardware requirements of a non-voting node are essentially identical to that of a voting node.

I'd also encourage you to take a look at the JSON RPC API and see if the available information provided would be sufficient for your needs. If so, API access from one of the numerous providers might be a cheaper (and easier) route than managing your own node.

2
  • Thank you. Solana gossip gives me most of the information I wanted, however was hoping to get a bit more. Mainly stake weight. I will look into other methods
    – Bryon M
    Commented Apr 5, 2023 at 20:15
  • 1
    For stake weight, check out the getVoteAccounts method in JSON RPC API:docs.solana.com/api/http#getvoteaccounts You can also query the same information with solana validators from the CLI. If you go this route, make sure you specify the appropriate network (ie mnb/testnet/devnet).
    – steviez
    Commented Apr 6, 2023 at 3:39

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.