Skip to content

Latest commit

 

History

History
240 lines (127 loc) · 7.4 KB

GetLastMinedBlockRIBSB.md

File metadata and controls

240 lines (127 loc) · 7.4 KB

GetLastMinedBlockRIBSB

Properties

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 the total size of the block in Bytes.
StrippedSize int32 Defines the numeric representation of the block size excluding the witness data.
Version int32 Represents the version of the specific block on the blockchain.
VersionHex string Is the hexadecimal string representation of the block's version.
Weight int32 Represents a measurement to compare the size of different transactions to each other in proportion to the block size limit.

Methods

NewGetLastMinedBlockRIBSB

func NewGetLastMinedBlockRIBSB(difficulty string, bits string, chainwork string, merkleRoot string, nonce string, size int32, strippedSize int32, version int32, versionHex string, weight int32, ) *GetLastMinedBlockRIBSB

NewGetLastMinedBlockRIBSB instantiates a new GetLastMinedBlockRIBSB 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

NewGetLastMinedBlockRIBSBWithDefaults

func NewGetLastMinedBlockRIBSBWithDefaults() *GetLastMinedBlockRIBSB

NewGetLastMinedBlockRIBSBWithDefaults instantiates a new GetLastMinedBlockRIBSB 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

GetDifficulty

func (o *GetLastMinedBlockRIBSB) GetDifficulty() string

GetDifficulty returns the Difficulty field if non-nil, zero value otherwise.

GetDifficultyOk

func (o *GetLastMinedBlockRIBSB) 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.

SetDifficulty

func (o *GetLastMinedBlockRIBSB) SetDifficulty(v string)

SetDifficulty sets Difficulty field to given value.

GetBits

func (o *GetLastMinedBlockRIBSB) GetBits() string

GetBits returns the Bits field if non-nil, zero value otherwise.

GetBitsOk

func (o *GetLastMinedBlockRIBSB) 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.

SetBits

func (o *GetLastMinedBlockRIBSB) SetBits(v string)

SetBits sets Bits field to given value.

GetChainwork

func (o *GetLastMinedBlockRIBSB) GetChainwork() string

GetChainwork returns the Chainwork field if non-nil, zero value otherwise.

GetChainworkOk

func (o *GetLastMinedBlockRIBSB) 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.

SetChainwork

func (o *GetLastMinedBlockRIBSB) SetChainwork(v string)

SetChainwork sets Chainwork field to given value.

GetMerkleRoot

func (o *GetLastMinedBlockRIBSB) GetMerkleRoot() string

GetMerkleRoot returns the MerkleRoot field if non-nil, zero value otherwise.

GetMerkleRootOk

func (o *GetLastMinedBlockRIBSB) 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.

SetMerkleRoot

func (o *GetLastMinedBlockRIBSB) SetMerkleRoot(v string)

SetMerkleRoot sets MerkleRoot field to given value.

GetNonce

func (o *GetLastMinedBlockRIBSB) GetNonce() string

GetNonce returns the Nonce field if non-nil, zero value otherwise.

GetNonceOk

func (o *GetLastMinedBlockRIBSB) 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.

SetNonce

func (o *GetLastMinedBlockRIBSB) SetNonce(v string)

SetNonce sets Nonce field to given value.

GetSize

func (o *GetLastMinedBlockRIBSB) GetSize() int32

GetSize returns the Size field if non-nil, zero value otherwise.

GetSizeOk

func (o *GetLastMinedBlockRIBSB) 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.

SetSize

func (o *GetLastMinedBlockRIBSB) SetSize(v int32)

SetSize sets Size field to given value.

GetStrippedSize

func (o *GetLastMinedBlockRIBSB) GetStrippedSize() int32

GetStrippedSize returns the StrippedSize field if non-nil, zero value otherwise.

GetStrippedSizeOk

func (o *GetLastMinedBlockRIBSB) GetStrippedSizeOk() (*int32, bool)

GetStrippedSizeOk returns a tuple with the StrippedSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetStrippedSize

func (o *GetLastMinedBlockRIBSB) SetStrippedSize(v int32)

SetStrippedSize sets StrippedSize field to given value.

GetVersion

func (o *GetLastMinedBlockRIBSB) GetVersion() int32

GetVersion returns the Version field if non-nil, zero value otherwise.

GetVersionOk

func (o *GetLastMinedBlockRIBSB) 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.

SetVersion

func (o *GetLastMinedBlockRIBSB) SetVersion(v int32)

SetVersion sets Version field to given value.

GetVersionHex

func (o *GetLastMinedBlockRIBSB) GetVersionHex() string

GetVersionHex returns the VersionHex field if non-nil, zero value otherwise.

GetVersionHexOk

func (o *GetLastMinedBlockRIBSB) 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.

SetVersionHex

func (o *GetLastMinedBlockRIBSB) SetVersionHex(v string)

SetVersionHex sets VersionHex field to given value.

GetWeight

func (o *GetLastMinedBlockRIBSB) GetWeight() int32

GetWeight returns the Weight field if non-nil, zero value otherwise.

GetWeightOk

func (o *GetLastMinedBlockRIBSB) GetWeightOk() (*int32, bool)

GetWeightOk returns a tuple with the Weight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetWeight

func (o *GetLastMinedBlockRIBSB) SetWeight(v int32)

SetWeight sets Weight field to given value.

[Back to Model list] [Back to API list] [Back to README]