DelegateStake

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

Types

Link copied to clipboard
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
open fun getDefaultInstance(): DelegateStake
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
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream): DelegateStake
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): DelegateStake
Link copied to clipboard
open fun parseFrom(data: Array<Byte>): DelegateStake
open fun parseFrom(data: ByteString): DelegateStake
open fun parseFrom(input: CodedInputStream): DelegateStake
open fun parseFrom(input: InputStream): DelegateStake
open fun parseFrom(data: ByteBuffer): DelegateStake
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): DelegateStake
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): DelegateStake
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): DelegateStake
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): DelegateStake
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): DelegateStake
Link copied to clipboard
open fun parser(): Parser<DelegateStake>

Properties

Link copied to clipboard
Link copied to clipboard