Name | Type | Description | Notes |
---|---|---|---|
Difficulty | string | Represents a mathematical value of how hard it is to find a valid hash for this block. | |
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. | |
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. | |
Nonce | string | Represents a random value that can be adjusted to satisfy the Proof of Work. | |
Size | int32 | Represents a random value that can be adjusted to satisfy the Proof of Work. | |
Version | int32 | Represents the version of the specific block on the blockchain. | |
VersionHex | string | Is the hexadecimal string representation of the block's version. |
func NewGetBlockDetailsByBlockHashRIBSBC(difficulty string, bits string, chainwork string, merkleRoot string, nonce string, size int32, version int32, versionHex string, ) *GetBlockDetailsByBlockHashRIBSBC
NewGetBlockDetailsByBlockHashRIBSBC instantiates a new GetBlockDetailsByBlockHashRIBSBC object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetBlockDetailsByBlockHashRIBSBCWithDefaults() *GetBlockDetailsByBlockHashRIBSBC
NewGetBlockDetailsByBlockHashRIBSBCWithDefaults instantiates a new GetBlockDetailsByBlockHashRIBSBC object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *GetBlockDetailsByBlockHashRIBSBC) GetDifficulty() string
GetDifficulty returns the Difficulty field if non-nil, zero value otherwise.
func (o *GetBlockDetailsByBlockHashRIBSBC) GetDifficultyOk() (*string, bool)
GetDifficultyOk returns a tuple with the Difficulty field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetBlockDetailsByBlockHashRIBSBC) SetDifficulty(v string)
SetDifficulty sets Difficulty field to given value.
func (o *GetBlockDetailsByBlockHashRIBSBC) GetBits() string
GetBits returns the Bits field if non-nil, zero value otherwise.
func (o *GetBlockDetailsByBlockHashRIBSBC) GetBitsOk() (*string, bool)
GetBitsOk returns a tuple with the Bits field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetBlockDetailsByBlockHashRIBSBC) SetBits(v string)
SetBits sets Bits field to given value.
func (o *GetBlockDetailsByBlockHashRIBSBC) GetChainwork() string
GetChainwork returns the Chainwork field if non-nil, zero value otherwise.
func (o *GetBlockDetailsByBlockHashRIBSBC) GetChainworkOk() (*string, bool)
GetChainworkOk returns a tuple with the Chainwork field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetBlockDetailsByBlockHashRIBSBC) SetChainwork(v string)
SetChainwork sets Chainwork field to given value.
func (o *GetBlockDetailsByBlockHashRIBSBC) GetMerkleRoot() string
GetMerkleRoot returns the MerkleRoot field if non-nil, zero value otherwise.
func (o *GetBlockDetailsByBlockHashRIBSBC) GetMerkleRootOk() (*string, bool)
GetMerkleRootOk returns a tuple with the MerkleRoot field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetBlockDetailsByBlockHashRIBSBC) SetMerkleRoot(v string)
SetMerkleRoot sets MerkleRoot field to given value.
func (o *GetBlockDetailsByBlockHashRIBSBC) GetNonce() string
GetNonce returns the Nonce field if non-nil, zero value otherwise.
func (o *GetBlockDetailsByBlockHashRIBSBC) GetNonceOk() (*string, bool)
GetNonceOk returns a tuple with the Nonce field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetBlockDetailsByBlockHashRIBSBC) SetNonce(v string)
SetNonce sets Nonce field to given value.
func (o *GetBlockDetailsByBlockHashRIBSBC) GetSize() int32
GetSize returns the Size field if non-nil, zero value otherwise.
func (o *GetBlockDetailsByBlockHashRIBSBC) GetSizeOk() (*int32, bool)
GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetBlockDetailsByBlockHashRIBSBC) SetSize(v int32)
SetSize sets Size field to given value.
func (o *GetBlockDetailsByBlockHashRIBSBC) GetVersion() int32
GetVersion returns the Version field if non-nil, zero value otherwise.
func (o *GetBlockDetailsByBlockHashRIBSBC) GetVersionOk() (*int32, bool)
GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetBlockDetailsByBlockHashRIBSBC) SetVersion(v int32)
SetVersion sets Version field to given value.
func (o *GetBlockDetailsByBlockHashRIBSBC) GetVersionHex() string
GetVersionHex returns the VersionHex field if non-nil, zero value otherwise.
func (o *GetBlockDetailsByBlockHashRIBSBC) GetVersionHexOk() (*string, bool)
GetVersionHexOk returns a tuple with the VersionHex field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetBlockDetailsByBlockHashRIBSBC) SetVersionHex(v string)
SetVersionHex sets VersionHex field to given value.