getAllAdmins

Calls the "getAllAdmins" function on the contract.

Example

import { getAllAdmins } from "thirdweb/extensions/erc4337";
const result = await getAllAdmins({
contract,
});
function getAllAdmins(options: BaseTransactionOptions) : Promise<readonly Array<string>>

Parameters

The options for the getAllAdmins function.

Type

let options: { contract: ThirdwebContract<abi> } & T;

Returns

let returnType: Promise<readonly Array<string>>

The parsed result of the function call.