Builder

class Builder
Create and initialize a stake account, and delegate amount to it.
Recommendation behavior is to not specify a stake account, and a new unique account will be created each time.
Optionally a stake account pubkey can be specified, but it should not exist on chain.
Protobuf type TW.Solana.Proto.DelegateStake

Functions

Link copied to clipboard
staking account
string stake_account = 3;
Link copied to clipboard
Validator's public key
string validator_pubkey = 1;
Link copied to clipboard
delegation amount
uint64 value = 2;
Link copied to clipboard
staking account
string stake_account = 3;
Link copied to clipboard
open fun getStakeAccountBytes(): ByteString
staking account
string stake_account = 3;
Link copied to clipboard
Validator's public key
string validator_pubkey = 1;
Link copied to clipboard
open fun getValidatorPubkeyBytes(): ByteString
Validator's public key
string validator_pubkey = 1;
Link copied to clipboard
open fun getValue(): Long
delegation amount
uint64 value = 2;
Link copied to clipboard
staking account
string stake_account = 3;
Link copied to clipboard
staking account
string stake_account = 3;
Link copied to clipboard
Validator's public key
string validator_pubkey = 1;
Link copied to clipboard
Validator's public key
string validator_pubkey = 1;
Link copied to clipboard
delegation amount
uint64 value = 2;