Functions
fetchSysvarRecentBlockhashes
fetchSysvarRecentBlockhashes(
rpc
,config?
):Promise
<SysvarRecentBlockhashes
>
Fetches the RecentBlockhashes
sysvar account using any RPC that supports the
GetAccountInfoApi.
Parameters
Parameter | Type |
---|---|
rpc | Rpc <GetAccountInfoApi > |
config? | FetchAccountConfig |
Returns
Promise
<SysvarRecentBlockhashes
>
Deprecated
Transaction fees should be determined with the GetFeeForMessageApi.getFeeForMessage RPC method. For additional context see the Comprehensive Compute Fees proposal.