useAccountAdmins

Get all the admins on a smart wallet account

Example

const {
data: accounts,
isLoading,
error,
} = useAccountAdmins(contract);

Parameters

Returns

The hook's data property, once loaded, contains an array of all admins of the provided account