get Recent Blockhash
suspend fun SolanaClient.getRecentBlockhash(commitment: Commitment? = null): Response<Response.RPC<RecentBlockHash>>
Deprecated (with error)
No longer a part of solana-core after 2.0. Use getLatestBlockhash instead
Replace with
getLatestBlockhashContent copied to clipboard
Returns the latest blockhash
Parameters
commitment
Optional Commitment level