Requesting the account data (public key)
const response = await fetch('https://xem.nownodes.io/account/get/from-public-key', { method: 'GET', headers: {}, }); const data = await response.json();