getPrice

Description: This function returns the price of an NFT listed for sale in the marketplace.

Method header:


function getPrice(address _nftAddress, uint256 _tokenId) public view returns (uint256)


Parameters:

Parameter TypeParameter NameParameter Description

address

_nftAddress

The address of the NFT contract.

uint256

_tokenId

The ID of the NFT to get the price.

Last updated