Interface StakingAccountItem
interface StakingAccountItem { account: AnchorTypeDef<({ name: "RegisteredStake"; type: { fields: [{ name: "authority"; type: "publicKey"; }, { name: "stakeMint"; type: "publicKey"; }, { name: "rewardMint"; type: "publicKey"; }, { name: "currentPeriod"; type: "u16"; }, { name: "rewardMultiplier"; type: "u64"; }, { name: "cooldownPeriod"; type: "u64"; }, { name: "bump"; type: "u8"; }]; kind: "struct"; }; } | { name: "StakingAccount"; type: { fields: [{ name: "owner"; type: "publicKey"; }, { name: "registeredStake"; type: "publicKey"; }, { name: "stakeMint"; type: "publicKey"; }, { name: "totalStake"; type: "u64"; }, { name: "activeStake"; type: "u64"; }, { name: "pendingRewards"; type: "u64"; }, { name: "paidRewards"; type: "u64"; }]; kind: "struct"; }; } | { name: "StakingVars"; type: { fields: [{ name: "authority"; type: "publicKey"; }, { name: "bump"; type: "u8"; }]; kind: "struct"; }; }) & { name: "StakingAccount"; }, AnchorDefined<Staking, Record<string, never>>>; publicKey: PublicKey; } Properties
account
account: AnchorTypeDef<({ name: "RegisteredStake"; type: { fields: [{ name: "authority"; type: "publicKey"; }, { name: "stakeMint"; type: "publicKey"; }, { name: "rewardMint"; type: "publicKey"; }, { name: "currentPeriod"; type: "u16"; }, { name: "rewardMultiplier"; type: "u64"; }, { name: "cooldownPeriod"; type: "u64"; }, { name: "bump"; type: "u8"; }]; kind: "struct"; }; } | { name: "StakingAccount"; type: { fields: [{ name: "owner"; type: "publicKey"; }, { name: "registeredStake"; type: "publicKey"; }, { name: "stakeMint"; type: "publicKey"; }, { name: "totalStake"; type: "u64"; }, { name: "activeStake"; type: "u64"; }, { name: "pendingRewards"; type: "u64"; }, { name: "paidRewards"; type: "u64"; }]; kind: "struct"; }; } | { name: "StakingVars"; type: { fields: [{ name: "authority"; type: "publicKey"; }, { name: "bump"; type: "u8"; }]; kind: "struct"; }; }) & { name: "StakingAccount"; }, AnchorDefined<Staking, Record<string, never>>> publicKey
publicKey: PublicKey