ValidatorStakeInfo class
Validator Stake Info
- Inheritance
-
- Object
- Serializable
- ValidatorStakeInfo
- Mixed-in types
Constructors
- ValidatorStakeInfo.new({required u64 activeStakeLamports, required u64 transientStakeLamports, required u64 lastUpdateEpoch, required u64 transientSeedSuffix, required u32 unused, required u32 validatorSeedSuffix, required StakeStatus status, required String voteAccountAddress})
-
Information about a validator in the pool
const
- ValidatorStakeInfo.fromAccountInfo(AccountInfo info)
-
factory
-
ValidatorStakeInfo.fromJson(Map<
String, dynamic> json) -
factory
Properties
- activeStakeLamports → u64
-
Amount of lamports on the validator stake account, including rent
final
- borshSchema → BorshSchema
-
Maps
this
class' properties to codecs.no setteroverride - hashCode → int
-
The hash code for this object.
no setterinherited
- lastUpdateEpoch → u64
-
Last epoch the active and transient stake lamports fields were updated
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → StakeStatus
-
Status of the validator stake account.
final
- transientSeedSuffix → u64
-
Transient account seed suffix, used to derive the transient stake account address
final
- transientStakeLamports → u64
-
Amount of transient stake delegated to this validator
final
- unused → u32
-
Unused space, initially meant to specify the end of seed suffixes
final
- validatorSeedSuffix → u32
-
Validator account seed suffix
final
- voteAccountAddress → String
-
Validator vote account address.
final
Methods
-
borshSize(
) → int -
Returns the serialized byte length of
this
instance.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toBorsh(
) → Iterable< int> -
Serializes
this
instance into a buffer.inherited -
toJson(
) → Map< String, dynamic> -
Serialises
this
class into a JSON object.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- codec → BorshStructSizedCodec
-
no setter