Kit
Functions

getSysvarRecentBlockhashesEncoder

getSysvarRecentBlockhashesEncoder(): VariableSizeEncoder<SysvarRecentBlockhashes>

Returns an encoder that you can use to encode a SysvarRecentBlockhashes to a byte array representing the RecentBlockhashes sysvar's account data.

Returns

VariableSizeEncoder<SysvarRecentBlockhashes>

Deprecated

Transaction fees should be determined with the GetFeeForMessageApi.getFeeForMessage RPC method. For additional context see the Comprehensive Compute Fees proposal.

On this page