Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HTTPPostJSON ¶
Types ¶
type Block ¶
type Block struct { ID int64 `json:"id"` Jsonrpc string `json:"jsonrpc"` Result struct { Difficulty string `json:"difficulty"` ExtraData string `json:"extraData"` GasLimit string `json:"gasLimit"` GasUsed string `json:"gasUsed"` Hash string `json:"hash"` LogsBloom string `json:"logsBloom"` Miner string `json:"miner"` MixHash string `json:"mixHash"` Nonce string `json:"nonce"` Number string `json:"number"` ParentHash string `json:"parentHash"` ReceiptsRoot string `json:"receiptsRoot"` Sha3Uncles string `json:"sha3Uncles"` Size string `json:"size"` StateRoot string `json:"stateRoot"` Timestamp string `json:"timestamp"` TotalDifficulty string `json:"totalDifficulty"` Transactions []interface{} `json:"transactions"` TransactionsRoot string `json:"transactionsRoot"` Uncles []interface{} `json:"uncles"` } `json:"result"` }
func ParseJSONBlock ¶
func (Block) ParentHash ¶
Click to show internal directories.
Click to hide internal directories.