Zoociety
安装
npm install zoociety
用法
获取 Zoociety 礼品卡的所有者地址 NFT
import getTokenOwner from "zoociety";
const tokenId = "123";
const ownerAddress = await getTokenOwner(tokenId);
console.log(ownerAddress); // The owner address of the token with ID '123'
解析 ENS 名称
import resolveEns from "zoociety";
const ens = "raldblox.eth";
const resolvedName = await resolvedEns(ens);
console.log(resolvedName); // The resolved address of the ENS Name: 'raldblox.eth'
The Zoociety
Installation
npm install zoociety
Usage
Get Owner Address of Zoociety Gift Card NFTs
import getTokenOwner from "zoociety";
const tokenId = "123";
const ownerAddress = await getTokenOwner(tokenId);
console.log(ownerAddress); // The owner address of the token with ID '123'
Resolve ENS Names
import resolveEns from "zoociety";
const ens = "raldblox.eth";
const resolvedName = await resolvedEns(ens);
console.log(resolvedName); // The resolved address of the ENS Name: 'raldblox.eth'