Functions
getNFTPrice
Gets the price for an NFT. It will return the NFT’s specific price, or the price of the collection if no specific price has been given.Name | Type | Description |
---|---|---|
nftContract | address | is the address of the NFT contract |
id | uint256 | of the NFT |
Name | Type | Description |
---|---|---|
price | uint256 | of the Token in weis of dollars. 10^18 => $ 1.00 USD |
getNFTCollectionPrice
Gets the default price for an NFT collection.Name | Type | Description |
---|---|---|
nftContract | address | is the address of the NFT contract |
Name | Type | Description |
---|---|---|
price | uint256 | of the Token in weis of dollars. 10^18 => $ 1.00 USD |