Struct cryptoapis::models::get_block_details_by_block_height_ribsbc::GetBlockDetailsByBlockHeightRibsbc [−][src]
pub struct GetBlockDetailsByBlockHeightRibsbc { pub difficulty: String, pub nonce: i32, pub size: i32, pub bits: String, pub chainwork: String, pub merkle_root: String, pub version: i32, pub version_hex: String, }
Expand description
GetBlockDetailsByBlockHeightRibsbc : Bitcoin Cash
Fields
difficulty: String
Represents a mathematical value of how hard it is to find a valid hash for this block.
nonce: i32
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
A sub-unit of BTC equal to 0.000001 BTC, or 100 Satoshi, and is the same as microbitcoin (μBTC). 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.
version: i32
Represents the version of the specific block on the blockchain.
version_hex: String
Is the hexadecimal string representation of the block’s version.
Implementations
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 GetBlockDetailsByBlockHeightRibsbc
impl Sync for GetBlockDetailsByBlockHeightRibsbc
impl Unpin for GetBlockDetailsByBlockHeightRibsbc
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more