Last modified: 2024-09-14
NEO.RegisterCandidate Method
Registers as a candidate.
Namespace: Neo.SmartContract.Framework.Native
Assembly: Neo.SmartContract.Framework
Candidate registration requires the candidate's signature. It means candidate registering is only self-determined.
Syntax
Parameter:
-
pubkey: The public key of the account to be registered.
Example
Response body:
Response description:
-
Boolean type: true means candidate registration is succeeded.
-
Others: failed.