Struct cryptoapis::models::get_block_details_by_block_height_ribs::GetBlockDetailsByBlockHeightRibs [−][src]
pub struct GetBlockDetailsByBlockHeightRibs {Show 17 fields
pub difficulty: String,
pub nonce: String,
pub size: i32,
pub bits: String,
pub chainwork: String,
pub merkle_root: String,
pub stripped_size: i32,
pub version: i32,
pub version_hex: String,
pub weight: i32,
pub extra_data: String,
pub gas_limit: String,
pub gas_used: String,
pub mined_in_seconds: i32,
pub sha3_uncles: String,
pub total_difficulty: String,
pub merkleroot: String,
}
Fields
difficulty: String
Represents a mathematical value of how hard it is to find a valid hash for this block.
nonce: String
Represents a random value that can be adjusted to satisfy the Proof of Work.
size: i32
Represents the total size of the block in Bytes.
bits: String
Represents a specific sub-unit of Zcash. Bits have two-decimal precision
chainwork: String
Represents a hexadecimal number of all the hashes necessary to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes.
merkle_root: String
Defines the single and final (root) node of a Merkle tree. It is the combined hash of all transactions’ hashes that are part of a blockchain block.
stripped_size: i32
Defines the numeric representation of the block size excluding the witness data.
version: i32
Represents the block version number.
version_hex: String
Is the hexadecimal string representation of the block’s version.
weight: i32
Represents a measurement to compare the size of different transactions to each other in proportion to the block size limi
extra_data: String
Represents any data that can be included by the miner in the block.
gas_limit: String
Defines the total gas limit of all transactions in the block.
gas_used: String
Represents the total amount of gas used by all transactions in this block.
mined_in_seconds: i32
Specifies the amount of time required for the block to be mined in seconds.
sha3_uncles: String
Defines the combined hash of all uncles for a given parent.
total_difficulty: String
Defines the total difficulty of the chain until this block, i.e. how difficult it is for a specific miner to mine a new block.
merkleroot: String
Defines the single and final (root) node of a Merkle tree. It is the combined hash of all transactions’ hashes that are part of a blockchain block.
Implementations
pub fn new(
difficulty: String,
nonce: String,
size: i32,
bits: String,
chainwork: String,
merkle_root: String,
stripped_size: i32,
version: i32,
version_hex: String,
weight: i32,
extra_data: String,
gas_limit: String,
gas_used: String,
mined_in_seconds: i32,
sha3_uncles: String,
total_difficulty: String,
merkleroot: String
) -> GetBlockDetailsByBlockHeightRibs
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for GetBlockDetailsByBlockHeightRibs
impl Sync for GetBlockDetailsByBlockHeightRibs
impl Unpin for GetBlockDetailsByBlockHeightRibs
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more