Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var ( Pending = Block{"pending"} Latest = Block{"latest"} Safe = Block{"safe"} Finalized = Block{"finalized"} )
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block struct {
	// contains filtered or unexported fields
}
    Block represents the block ref value in RPC calls. It can be either a label (e.g. latest), a block number or block hash.
func ByHash ¶
ByHash references a block by hash. Canonical or non-canonical blocks may be referenced.
 Click to show internal directories. 
   Click to hide internal directories.