Get all signers and admins on a smart wallet account.
import { useAccountAdminsAndSigners } from "@thirdweb-dev/react"; const { data: accounts, isLoading, error,} = useAccountAdminsAndSigners(contract);
function useAccountAdminsAndSigners( contract: RequiredParam<SmartContract<BaseContract>>,): UseQueryResult<Array<SignerWithPermissions>>;
Instance of SmartContract
SmartContract
let contract: RequiredParam<SmartContract<BaseContract>>;
let returnType: UseQueryResult<Array<SignerWithPermissions>>;
hook's data property containing an array of all admins and signers
data