Struct ckb_jsonrpc_types::BlockEconomicState[][src]

pub struct BlockEconomicState {
    pub issuance: BlockIssuance,
    pub miner_reward: MinerReward,
    pub txs_fee: Capacity,
    pub finalized_at: H256,
}

Block Economic State.

It includes the rewards details and when it is finalized.

Fields

issuance: BlockIssuance

Block base rewards.

miner_reward: MinerReward

Block rewards for miners.

txs_fee: Capacity

The total fees of all transactions committed in the block.

finalized_at: H256

The block hash of the block which creates the rewards as cells in its cellbase transaction.

Trait Implementations

impl Clone for BlockEconomicState[src]

impl Debug for BlockEconomicState[src]

impl Default for BlockEconomicState[src]

impl<'de> Deserialize<'de> for BlockEconomicState[src]

impl Eq for BlockEconomicState[src]

impl From<BlockEconomicState> for BlockEconomicState[src]

impl Hash for BlockEconomicState[src]

impl PartialEq<BlockEconomicState> for BlockEconomicState[src]

impl Serialize for BlockEconomicState[src]

impl StructuralEq for BlockEconomicState[src]

impl StructuralPartialEq for BlockEconomicState[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,