export const getSatOwner = async (satNumber) => {
  const ordUri = "https://ordinals.com";
  const selfSat = await fetch(`${ordUri}/r/sat/${satNumber}`);
  const id0 = JSON.parse(await selfSat.text()).ids[0];
  const inscriptionInfo = await fetch(
    `${ordUri}/inscription/${id0}`,
  );
  const ownerAddress = await inscriptionInfo.text();
  return [id0, ownerAddress
    .split("<dt>address</dt>")[1]
    .split("</dd>")[0]
    .split("<dd class=monospace>")[1]];
};