FarcasterKey
creatorIdOf
Get the creatorId by token ID
function creatorIdOf(uint256 tokenId) external view
tokenId
uint256
the ID of NFT token
creatorIdsOf
Similar to creatorIdOf(), supports batch operations
function creatorIdsOf(uint256[] calldata tokenIds) external view
tokenId
uint256
the ID of NFT token
creatorIdsOfOwner
Get the creatorIds by owner address
function creatorIdsOfOwner(address tokenOwner) external view
tokenOwner
address
the owner's address
Mint
Mint the Profile Key NFT
function mint(address to, uint256 amount, uint256 creatorId) external onlyFarcasterKeys
to
address
The address that receives the NFTs
amount
uint256
The amount of Minted NFTs
creatorId
uint256
The creator's Farcaster ID
Burn
Burn the profile Key NFT
function burn(uint256 tokenId) external onlyFarcasterKeys
tokenId
uint256
the ID of the profile key NFT
totalMinted
Get the amount of minted NFTs
function totalMinted() external view
totalBurned
Get the amount of burned NFTs
function totalBurned() external view
setBaseURI
Set the base image URI of NFT
function setBaseURI(string memory newBasURI) external onlyOwner
newBasURI
string
The image URI
Last updated