PrivilegeNFT https://docs.hazbase.com/en/smart-contracts/contracts/privilege-nft/ SMART CONTRACTS ← Contract catalog PrivilegeNFT Represent individually identified assets or access credentials. Overview Contract catalog Choose by use case Permissions & operations Tokens & rights PrivilegeNFT .sol @hazbase/kit @ 0.9.0 Role and use Use a distinct tokenId for each equipment identity or individual membership. Integration considerations Define metadata storage, transfer rules and expiry or ownership changes. Match SDK operations to the deployed implementation. Key SDK operations These operations are exposed by PrivilegeNFTHelper in @hazbase/kit@0.9.0. The signatures below are type definitions; see the SDK reference for parameter structures and the complete interface. typescript import { PrivilegeNFTHelper } from '@hazbase/kit' ; mint typescript 1 2 3 4 5 6 7 8 async mint ( to : Address , id : bigint | number , uri : string , tier : number , exp : bigint | number , rType : bigint | number ) : Promise < TransactionReceipt > ownerOf typescript async ownerOf ( id : bigint | number ) : Promise < Address > tokenURI typescript async tokenURI ( id : bigint | number ) : Promise < string > safeTransferFrom typescript 1 2 3 4 5 6 async safeTransferFrom ( from : Address , to : Address , tokenId : bigint | number , data : BytesLike = "0x" ) : Promise < TransactionReceipt > View parameters, return types and all methods Related contracts Whitelist Manage eligibility records used by token and transfer policies. MarketManager Handle token listings, purchases and fees. Put it into practice Physical assets & inventory See the data model, processing sequence and SDK code for an application-level implementation. Read the implementation pattern Specification and source The Solidity source is pinned to the revision below. Match it with the SDK version and your network’s implementation address and ABI. privilege-nft/contracts/PrivilegeNFT.sol Source revision : b53a5b5 ← Back to the contract catalog Permissions & operations