ValidatorStakeInfo class
Information about a validator in the pool
- Inheritance
-
- Object
- LayoutSerializable
- ValidatorStakeInfo
Constructors
- ValidatorStakeInfo({required BigInt activeStakeLamports, required BigInt transientStakeLamports, required BigInt lastUpdateEpoch, required BigInt transientSeedSuffixStart, required BigInt transientSeedSuffixEnd, required ValidatorStakeInfoStatus status, required SolAddress voteAccountAddress})
-
const
-
ValidatorStakeInfo.fromJson(Map<
String, dynamic> json) -
factory
Properties
- activeStakeLamports → BigInt
-
Amount of active stake delegated to this validator
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastUpdateEpoch → BigInt
-
Last epoch the active and transient stake lamports fields were updated
final
- layout → StructLayout
-
The layout representing the structure of the object for serialization.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → ValidatorStakeInfoStatus
-
Status of the validator stake account
final
- transientSeedSuffixEnd → BigInt
-
End of the validator transient account seed suffixes
final
- transientSeedSuffixStart → BigInt
-
Start of the validator transient account seed suffixes
final
- transientStakeLamports → BigInt
-
Amount of transient stake delegated to this validator
final
- voteAccountAddress → SolAddress
-
Validator vote account address
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
) → Map< String, dynamic> -
Serializes the object to a map.
override
-
toBytes(
) → List< int> -
Converts the object to bytes using Borsh serialization.
inherited
-
toHex(
) → String -
Converts the object to a hexadecimal string.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- staticLayout → StructLayout
-
final