-
Notifications
You must be signed in to change notification settings - Fork 34
Validator calls reference
uprendis edited this page Mar 25, 2021
·
1 revision
Create a new validator
Current minimum stake is sfcc.minSelfStake()
pubkey
is a public key used to authenticate future validator's consensus messages. pubkey
cannot be changed after the call
The call creates a self-delegation with the specified amount. Validator uses the same calls as other delegators. Visit delegation calls, reward calls, lockup calls for additional details
sfcc.createValidator("0xPubkey", {from:"0xAddress", value: web3.toWei("amount", "ftm")})
- Self-stake amount is greater or equal to
sfcc.minSelfStake()
- This address wasn't used for other validator
-
pubkey
is not empty