isAdmin

Calls the "isAdmin" function on the contract.

Example

import { isAdmin } from "thirdweb/extensions/erc4337";
const result = await isAdmin({
contract,
signer: ...,
});

Parameters

Returns

The parsed result of the function call.