A successful response.
const response = await fetch('https://inj.nownodes.io/injective/exchange/v1beta1/effective_positions/{subaccount_id}/{market_id}', { method: 'GET', headers: {}, }); const data = await response.json();
{ "state": { "is_long": false, "quantity": "text", "entry_price": "text", "effective_margin": "text" } }