I'm current using the following method to get an NFT's owner wallet. I'd like to batch this to do multiple requests at once. Since this requires two function calls, however, it requires two batch requests. Before going down this path, I wanted to confirm there wasn't a better way of getting an NFT's owner wallet, ideally with only one call to the RPC.
const token = await this.connection.getTokenLargestAccounts(nftPubKey);
const holder = token.value[0]?.address;
if (!holder)
return null;
const acc = await this.connectionQuick.getParsedAccountInfo(holder);
const data = acc?.value?.data as ParsedAccountData;
if (!data)
return null;
const owner = data.parsed.info.owner as string;
return owner;