Get all the admins on a smart wallet account
const { data: accounts, isLoading, error,} = useAccountAdmins(contract);
function useAccountAdmins( contract: RequiredParam<SmartContract<BaseContract>>,): UseQueryResult<Array<WalletAddress>>;
Instance of SmartContract
SmartContract
let contract: RequiredParam<SmartContract<BaseContract>>;
let returnType: UseQueryResult<Array<WalletAddress>>;
The hook's data property, once loaded, contains an array of all admins of the provided account
data