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 | Represents a specific sub-unit of Dash. 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 | int64 | Numeric representation of the block nonce | |
Size | int32 | Represents the total size of the block in Bytes. | |
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 NewGetLastMinedBlockRIBSD2(difficulty string, bits string, chainwork string, merkleRoot string, nonce int64, size int32, version int32, versionHex string, ) *GetLastMinedBlockRIBSD2
NewGetLastMinedBlockRIBSD2 instantiates a new GetLastMinedBlockRIBSD2 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 NewGetLastMinedBlockRIBSD2WithDefaults() *GetLastMinedBlockRIBSD2
NewGetLastMinedBlockRIBSD2WithDefaults instantiates a new GetLastMinedBlockRIBSD2 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 *GetLastMinedBlockRIBSD2) GetDifficulty() string
GetDifficulty returns the Difficulty field if non-nil, zero value otherwise.
func (o *GetLastMinedBlockRIBSD2) 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 *GetLastMinedBlockRIBSD2) SetDifficulty(v string)
SetDifficulty sets Difficulty field to given value.
func (o *GetLastMinedBlockRIBSD2) GetBits() string
GetBits returns the Bits field if non-nil, zero value otherwise.
func (o *GetLastMinedBlockRIBSD2) 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 *GetLastMinedBlockRIBSD2) SetBits(v string)
SetBits sets Bits field to given value.
func (o *GetLastMinedBlockRIBSD2) GetChainwork() string
GetChainwork returns the Chainwork field if non-nil, zero value otherwise.
func (o *GetLastMinedBlockRIBSD2) 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 *GetLastMinedBlockRIBSD2) SetChainwork(v string)
SetChainwork sets Chainwork field to given value.
func (o *GetLastMinedBlockRIBSD2) GetMerkleRoot() string
GetMerkleRoot returns the MerkleRoot field if non-nil, zero value otherwise.
func (o *GetLastMinedBlockRIBSD2) 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 *GetLastMinedBlockRIBSD2) SetMerkleRoot(v string)
SetMerkleRoot sets MerkleRoot field to given value.
func (o *GetLastMinedBlockRIBSD2) GetNonce() int64
GetNonce returns the Nonce field if non-nil, zero value otherwise.
func (o *GetLastMinedBlockRIBSD2) GetNonceOk() (*int64, 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 *GetLastMinedBlockRIBSD2) SetNonce(v int64)
SetNonce sets Nonce field to given value.
func (o *GetLastMinedBlockRIBSD2) GetSize() int32
GetSize returns the Size field if non-nil, zero value otherwise.
func (o *GetLastMinedBlockRIBSD2) 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 *GetLastMinedBlockRIBSD2) SetSize(v int32)
SetSize sets Size field to given value.
func (o *GetLastMinedBlockRIBSD2) GetVersion() int32
GetVersion returns the Version field if non-nil, zero value otherwise.
func (o *GetLastMinedBlockRIBSD2) 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 *GetLastMinedBlockRIBSD2) SetVersion(v int32)
SetVersion sets Version field to given value.
func (o *GetLastMinedBlockRIBSD2) GetVersionHex() string
GetVersionHex returns the VersionHex field if non-nil, zero value otherwise.
func (o *GetLastMinedBlockRIBSD2) 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 *GetLastMinedBlockRIBSD2) SetVersionHex(v string)
SetVersionHex sets VersionHex field to given value.