BlockhashCache constructor

BlockhashCache({
  1. Duration timeout = const Duration(seconds: 30),
})

Stores the latest blockhash fetched from HttpConnection.getLatestBlockhash.

Implementation

BlockhashCache({
  this.timeout = const Duration(seconds: 30),
});