GetLatestBlockhash class
Get Latest Blockhash
A method handler for getLatestBlockhash.
- Inheritance
- 
    - Object
- JsonRpcMethod<Map< String, dynamic> , JsonRpcResponseContext<BlockhashWithExpiryBlockHeight> >
- JsonRpcContextMethod<Map< String, dynamic> , BlockhashWithExpiryBlockHeight>
- JsonRpcContextMethod<Map< String, dynamic> , BlockhashWithExpiryBlockHeight>
- GetLatestBlockhash
 
Constructors
- GetLatestBlockhash({GetLatestBlockhashConfig? config})
- 
          Creates a method handler for getLatestBlockhash.
Properties
- config → Serializable?
- 
  The parameter configurations object.
  finalinherited
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- method → String
- 
  The JSON RPC method name,
  finalinherited
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- 
  values
  → List<Object?> 
- 
  The ordered parameter values.
  finalinherited
Methods
- 
  decoder(Map< String, dynamic> value) → JsonRpcResponseContext<BlockhashWithExpiryBlockHeight> 
- 
  Decodes the resultproperty of a successful JSON RPC response.inherited
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  params([Commitment? commitment]) → Object? 
- 
  Returns the JSON RPC request's paramsproperty value.inherited
- 
  request([Commitment? commitment]) → JsonRpcRequest 
- 
  Creates a JsonRpcRequest to invoke method with params. The commitmentlevel is provided as a default value to all methods that query bank state.inherited
- 
  response(Map< String, dynamic> json) → JsonRpcResponse<JsonRpcResponseContext< BlockhashWithExpiryBlockHeight> >
- 
  Parses the jsonRPC response and returns the result.inherited
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
- 
  valueDecoder(Map< String, dynamic> value) → BlockhashWithExpiryBlockHeight
- 
  Decodes the valueproperty of a successful JSON RPC response-context.override
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited