How to query delegator info for stake pool from command line?

I run a stake pool and am trying to figure out how I can query via command line who the current delegators are in the current epoch and how much active stake they each have.

Is this something I can do with cardano-cli? Or is there another commandline tool I can use?

I’m trying to automate a lottery function for the pool.

2 Likes