Builder

class Builder
create stake
Protobuf type TW.IoTeX.Proto.Staking.Create

Functions

Link copied to clipboard
auto-restake
bool autoStake = 4;
Link copied to clipboard
validator name
string candidateName = 1;
Link copied to clipboard
payload data
bytes payload = 5;
Link copied to clipboard
amount to be staked
string stakedAmount = 2;
Link copied to clipboard
duration
uint32 stakedDuration = 3;
Link copied to clipboard
open fun getAutoStake(): Boolean
auto-restake
bool autoStake = 4;
Link copied to clipboard
validator name
string candidateName = 1;
Link copied to clipboard
open fun getCandidateNameBytes(): ByteString
validator name
string candidateName = 1;
Link copied to clipboard
open fun getPayload(): ByteString
payload data
bytes payload = 5;
Link copied to clipboard
amount to be staked
string stakedAmount = 2;
Link copied to clipboard
open fun getStakedAmountBytes(): ByteString
amount to be staked
string stakedAmount = 2;
Link copied to clipboard
duration
uint32 stakedDuration = 3;
Link copied to clipboard
auto-restake
bool autoStake = 4;
Link copied to clipboard
validator name
string candidateName = 1;
Link copied to clipboard
validator name
string candidateName = 1;
Link copied to clipboard
open fun setPayload(value: ByteString): IoTeX.Staking.Create.Builder
payload data
bytes payload = 5;
Link copied to clipboard
amount to be staked
string stakedAmount = 2;
Link copied to clipboard
amount to be staked
string stakedAmount = 2;
Link copied to clipboard
duration
uint32 stakedDuration = 3;