RPCGetBlockByNumber class
Returns information about a block by block number. ethereum.org
- Inheritance
- 
    - Object
- LookupBlockRequest
- ETHRPCRequest<BlockDetails> 
- RPCGetBlockByNumber
 
Constructors
- RPCGetBlockByNumber({required BlockTagOrNumber blockNumber, bool hydrated = true})
Properties
- blockNumber → BlockTagOrNumber?
- 
  
  finalinherited
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- hydrated → bool
- 
  If true it returns the full transaction objects, if false only the hashes of the transactions.
  final
- method → EthereumMethods
- 
  eth_getBlockByNumber
  no setteroverride
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- validate → String?
- 
  A validation property (not used in this implementation).
  no setterinherited
Methods
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  onResonse(dynamic result) → BlockDetails 
- 
  Converts a dynamic response to the generic type T.override
- 
  toJson() → List 
- 
  Converts the request parameters to a JSON representation.
  override
- 
  toRequest(int requestId) → ETHRequestDetails 
- 
  Converts the request parameters to a ETHRequestDetails object.
  inherited
- 
  toString() → String 
- 
  A string representation of this object.
  override
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited