thirdweb

Supports Interface

(supportsInterface)

view

interfaceId


Use this function in your app


import { readContract } from "thirdweb"; const data = await readContract({ contract, method: "function supportsInterface(bytes4 interfaceId) view returns (bool)", params: [interfaceId] })