1.0.24 • Published 1 year ago
zoociety v1.0.24
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'