A successful response.
const response = await fetch('https://inj.nownodes.io/peggy/v1/valset/current', { method: 'GET', headers: {}, }); const data = await response.json();
{ "valset": { "nonce": "text", "members": [ { "power": "text", "ethereum_address": "text" } ], "height": "text", "reward_amount": "text", "reward_token": "text" } }