get https://api.northstake.dk/v1/validators
import { NorthstakeApi } from '@northstake/northstakeapi'
const api = new NorthstakeApi('apiKey', 'privateKey')
const {body:validators} = await api.validators.getValidators()
for (const validator of validators) {
console.log(`
Validator Name: ${validator.associatedOrderId}
Validator type: ${validator.validatorType}
Validator balance: ${validator.balance}
Validator index: ${validator.validatorIndex}
Validator exit estimate: ${validator.exitEstimate}
`)
}