You can check onchain whether an account has a guardian by calling get_guardian on the account. If it returns a value other than 0, then the account has a guardian.
get_guardian
Last updated 1 year ago
Was this helpful?