For the complete documentation index, see llms.txt. This page is also available as Markdown.

TroveNFT

This is in addition to all the functions found in the ERC721Enumerable Token Standard

Write Methods

View Methods

function getTokensByOwner(address _owner) external view returns (uint256[] memory)

Returns all Trove NFT IDs owned by an address

Parameter
Type
Description

_owner

address

Address to query owned NFTs

Returns:

Value
Type
Description

tokens

uint256[]

Array of owned Trove NFT IDs

function tokenURI(uint256 _tokenId) public view returns (string memory)

Generates the metadata URI for a specific Trove NFT

Parameter
Type
Description

_tokenId

uint256

Trove ID/NFT ID to query

Returns:

Value
Type
Description

metadataURI

string

JSON metadata URI for the NFT

Structs

Events

Last updated