StakeAccountInfo
Defined in: protocol-staking-native-solana/src/protocol.ts:74
One of the wallet’s stake accounts. Amounts in lamports.
Properties
Section titled “Properties”activating
Section titled “activating”activating:
bigint
Defined in: protocol-staking-native-solana/src/protocol.ts:91
activationEpoch
Section titled “activationEpoch”activationEpoch:
bigint|null
Defined in: protocol-staking-native-solana/src/protocol.ts:94
address
Section titled “address”address:
string
Defined in: protocol-staking-native-solana/src/protocol.ts:75
canManage
Section titled “canManage”canManage:
boolean
Defined in: protocol-staking-native-solana/src/protocol.ts:111
The wallet is the stake authority (may delegate, deactivate, split, merge).
canWithdraw
Section titled “canWithdraw”canWithdraw:
boolean
Defined in: protocol-staking-native-solana/src/protocol.ts:113
The wallet is the withdraw authority and no lockup is in force.
deactivating
Section titled “deactivating”deactivating:
bigint
Defined in: protocol-staking-native-solana/src/protocol.ts:92
deactivationEpoch
Section titled “deactivationEpoch”deactivationEpoch:
bigint|null
Defined in: protocol-staking-native-solana/src/protocol.ts:95
delegated
Section titled “delegated”delegated:
bigint
Defined in: protocol-staking-native-solana/src/protocol.ts:89
delegation.stake while delegated or cooling down: principal plus compounded rewards. 0 once inactive (the field goes stale).
effective
Section titled “effective”effective:
bigint
Defined in: protocol-staking-native-solana/src/protocol.ts:90
id:
bigint
Defined in: protocol-staking-native-solana/src/protocol.ts:77
Stable id for claimWithdrawals({ ids }): the address’s first 8 bytes as a u64.
kind:
"initialized"|"delegated"
Defined in: protocol-staking-native-solana/src/protocol.ts:81
lamports
Section titled “lamports”lamports:
bigint
Defined in: protocol-staking-native-solana/src/protocol.ts:82
lockup
Section titled “lockup”lockup: {
custodian:string;epoch:bigint;unixTimestamp:bigint; } |null
Defined in: protocol-staking-native-solana/src/protocol.ts:115
Lockup still in force, if any.
owned:
boolean
Defined in: protocol-staking-native-solana/src/protocol.ts:109
The wallet is the withdraw authority: the SOL is the wallet’s. Accounts discover finds where the
wallet is only the stake authority are listed with owned: false and left out of the position
and of every write.
readyAt
Section titled “readyAt”readyAt:
number|null
Defined in: protocol-staking-native-solana/src/protocol.ts:101
Projected unix ms of readyEpoch’s start.
readyEpoch
Section titled “readyEpoch”readyEpoch:
bigint|null
Defined in: protocol-staking-native-solana/src/protocol.ts:99
Epoch at which the current warm-up or cool-down completes (null when settled).
seed:
string|null
Defined in: protocol-staking-native-solana/src/protocol.ts:79
Seed and slot index for the module’s own accounts; null for discovered ones.
seedIndex
Section titled “seedIndex”seedIndex:
number|null
Defined in: protocol-staking-native-solana/src/protocol.ts:80
staker
Section titled “staker”staker:
string|null
Defined in: protocol-staking-native-solana/src/protocol.ts:102
status
Section titled “status”status:
StakeStatus
Defined in: protocol-staking-native-solana/src/protocol.ts:93
validator
Section titled “validator”validator:
string|null
Defined in: protocol-staking-native-solana/src/protocol.ts:84
Vote account it is delegated to (null when never delegated).
validatorListed
Section titled “validatorListed”validatorListed:
boolean
Defined in: protocol-staking-native-solana/src/protocol.ts:87
The validator is in the configured list (true in 'any' mode).
validatorName
Section titled “validatorName”validatorName:
string|null
Defined in: protocol-staking-native-solana/src/protocol.ts:85
withdrawable
Section titled “withdrawable”withdrawable:
bigint
Defined in: protocol-staking-native-solana/src/protocol.ts:97
What a withdraw could take now; equals lamports once fully inactive (the account closes).
withdrawer
Section titled “withdrawer”withdrawer:
string|null
Defined in: protocol-staking-native-solana/src/protocol.ts:103