import { ethers } from "ethers"; export const getSupportedInterface = async ( reliquaryContract: ethers.Contract, interfaceId: any ) => { try { const isSupported = await reliquaryContract.supportsInterface(interfaceId); return isSupported.toString(); } catch (error) { return error; } };