# Struct ethcore_rpc::v1::types::Block [−] [src]

    pub struct Block {
        pub hash: Option<H256>,
        pub parent_hash: H256,
        pub uncles_hash: H256,
        pub author: H160,
        pub miner: H160,
        pub state_root: H256,
        pub transactions_root: H256,
        pub receipts_root: H256,
        pub number: Option<U256>,
        pub gas_used: U256,
        pub gas_limit: U256,
        pub extra_data: Bytes,
        pub logs_bloom: H2048,
        pub timestamp: U256,
        pub difficulty: U256,
        pub total_difficulty: U256,
        pub seal_fields: Vec<Bytes>,
        pub uncles: Vec<H256>,
        pub transactions: BlockTransactions,
        pub size: Option<U256>,
    }

Block representation

## Fields

`hash: Option<H256>`

Hash of the block

`parent_hash: H256`

Hash of the parent

`uncles_hash: H256`

Hash of the uncles

`author: H160`

Authors address

`miner: H160`

?

`state_root: H256`

State root hash

`transactions_root: H256`

Transactions root hash

`receipts_root: H256`

Transactions receipts root hash

`number: Option<U256>`

Block number

`gas_used: U256`

Gas Used

`gas_limit: U256`

Gas Limit

`extra_data: Bytes`

Extra data

`logs_bloom: H2048`

Logs bloom

`timestamp: U256`

Timestamp

`difficulty: U256`

Difficulty

`total_difficulty: U256`

Total difficulty

`seal_fields: Vec<Bytes>`

Seal fields

`uncles: Vec<H256>`

Uncles' hashes

`transactions: BlockTransactions`

Transactions

`size: Option<U256>`

Size in bytes

## Trait Implementations

### `impl Debug for Block`
[src]

#### `fn fmt(&self, __arg_0: &mut Formatter) -> Result`

Formats the value using the given formatter.

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result
+
  Collapse/expand all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)