IERC165
IERC165
supportsInterface
Query if a contract implements an interface
Interface identification is specified in ERC-165. This function uses less than 30,000 gas.
Parameters
Name
Type
Description
interfaceId
bytes4
The interface identifier, as specified in ERC-165
Return Values
Name
Type
Description
[0]
bool
true
if the contract implements interfaceID
and interfaceID
is not 0xffffffff, false
otherwise
Was this helpful?