getSysvarClockCodec
Returns a codec that you can use to encode from or decode to SysvarClock
Returns
FixedSizeCodec
<Readonly
<{
epoch
: bigint
;
epochStartTimestamp
: UnixTimestamp
;
leaderScheduleEpoch
: bigint
;
slot
: bigint
;
unixTimestamp
: UnixTimestamp
;
}>, Readonly
<{
epoch
: bigint
;
epochStartTimestamp
: UnixTimestamp
;
leaderScheduleEpoch
: bigint
;
slot
: bigint
;
unixTimestamp
: UnixTimestamp
;
}>, 40
>