Kit
Functions

getSysvarEpochRewardsCodec

getSysvarEpochRewardsCodec(): FixedSizeCodec<Readonly<{ active: boolean; distributedRewards: Lamports; distributionStartingBlockHeight: bigint; numPartitions: bigint; parentBlockhash: Blockhash; totalPoints: bigint; totalRewards: Lamports; }>, Readonly<{ active: boolean; distributedRewards: Lamports; distributionStartingBlockHeight: bigint; numPartitions: bigint; parentBlockhash: Blockhash; totalPoints: bigint; totalRewards: Lamports; }>, 81>

Returns a codec that you can use to encode from or decode to SysvarEpochRewards

Returns

FixedSizeCodec<Readonly<{ active: boolean; distributedRewards: Lamports; distributionStartingBlockHeight: bigint; numPartitions: bigint; parentBlockhash: Blockhash; totalPoints: bigint; totalRewards: Lamports; }>, Readonly<{ active: boolean; distributedRewards: Lamports; distributionStartingBlockHeight: bigint; numPartitions: bigint; parentBlockhash: Blockhash; totalPoints: bigint; totalRewards: Lamports; }>, 81>

See

On this page