IERC 2981 Upgradeable
Last updated
Last updated
Interface for the NFT Royalty Standard
Called with the sale price to determine how much royalty is owed and to whom.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Returns true if this contract implements the interface defined by interfaceId
. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
tokenId
uint256
- the NFT asset queried for royalty information
salePrice
uint256
- the sale price of the NFT asset specified by tokenId
receiver
address
- address of who should be sent the royalty payment
royaltyAmount
uint256
- the royalty payment amount for salePrice
interfaceId
bytes4
undefined
_0
bool
undefined