@LucianMincu Ty for the new function isDelegator in the staking-provider SC. I tried it with a new wallet not delegator, but I got this error
executeQuery: executeQuery: error running vm func: code: 4, user error (view function works only for existing delegators)"
Should not be available for any wallet and in case is not a delegator return false and true when it is ?
I also tried with an account which is delegator, no error now, but not even a true result just null return.
I am testing it on my local testnet. May I not have the latest changes on it ?
IsDelegator returns error if you are not a delegator. This is the latest code.