account.setPrivacy

Change privacy settings of current account

 메서드 스키마는 레이어 19부터 사용할 수 있습니다. 전환 »

Parameters

Name Type Description
key InputPrivacyKey New privacy rule
rules Vector<InputPrivacyRule> Peers to which the privacy rule will apply.

Result

account.PrivacyRules

Only users can use this method

Possible errors

Code Type Description
400 PRIVACY_KEY_INVALID The privacy key is invalid.
400 PRIVACY_TOO_LONG Too many privacy rules were specified, the current limit is 1000.
400 PRIVACY_VALUE_INVALID The specified privacy rule combination is invalid.