Skip to content

Latest commit

 

History

History
177 lines (94 loc) · 6.2 KB

GetBlockDetailsByBlockHashRI.md

File metadata and controls

177 lines (94 loc) · 6.2 KB

GetBlockDetailsByBlockHashRI

Properties

Name Type Description Notes
Hash string Represents the hash of the block, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm.
Height int32 Represents the number of blocks in the blockchain preceding this specific block. Block numbers have no gaps. A blockchain usually starts with block 0 called the "Genesis block".
NextBlockHash string Represents the hash of the next block. When this is the last block of the blockchain this value will be an empty string.
PreviousBlockHash string Represents the hash of the previous block, also known as the parent block.
Timestamp int32 Defines the exact date/time when this block was mined in Unix Timestamp.
TransactionsCount int32 Represents the total number of all transactions as part of this block.
BlockchainSpecific GetBlockDetailsByBlockHashRIBS

Methods

NewGetBlockDetailsByBlockHashRI

func NewGetBlockDetailsByBlockHashRI(hash string, height int32, nextBlockHash string, previousBlockHash string, timestamp int32, transactionsCount int32, blockchainSpecific GetBlockDetailsByBlockHashRIBS, ) *GetBlockDetailsByBlockHashRI

NewGetBlockDetailsByBlockHashRI instantiates a new GetBlockDetailsByBlockHashRI 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

NewGetBlockDetailsByBlockHashRIWithDefaults

func NewGetBlockDetailsByBlockHashRIWithDefaults() *GetBlockDetailsByBlockHashRI

NewGetBlockDetailsByBlockHashRIWithDefaults instantiates a new GetBlockDetailsByBlockHashRI 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

GetHash

func (o *GetBlockDetailsByBlockHashRI) GetHash() string

GetHash returns the Hash field if non-nil, zero value otherwise.

GetHashOk

func (o *GetBlockDetailsByBlockHashRI) GetHashOk() (*string, bool)

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

SetHash

func (o *GetBlockDetailsByBlockHashRI) SetHash(v string)

SetHash sets Hash field to given value.

GetHeight

func (o *GetBlockDetailsByBlockHashRI) GetHeight() int32

GetHeight returns the Height field if non-nil, zero value otherwise.

GetHeightOk

func (o *GetBlockDetailsByBlockHashRI) GetHeightOk() (*int32, bool)

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

SetHeight

func (o *GetBlockDetailsByBlockHashRI) SetHeight(v int32)

SetHeight sets Height field to given value.

GetNextBlockHash

func (o *GetBlockDetailsByBlockHashRI) GetNextBlockHash() string

GetNextBlockHash returns the NextBlockHash field if non-nil, zero value otherwise.

GetNextBlockHashOk

func (o *GetBlockDetailsByBlockHashRI) GetNextBlockHashOk() (*string, bool)

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

SetNextBlockHash

func (o *GetBlockDetailsByBlockHashRI) SetNextBlockHash(v string)

SetNextBlockHash sets NextBlockHash field to given value.

GetPreviousBlockHash

func (o *GetBlockDetailsByBlockHashRI) GetPreviousBlockHash() string

GetPreviousBlockHash returns the PreviousBlockHash field if non-nil, zero value otherwise.

GetPreviousBlockHashOk

func (o *GetBlockDetailsByBlockHashRI) GetPreviousBlockHashOk() (*string, bool)

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

SetPreviousBlockHash

func (o *GetBlockDetailsByBlockHashRI) SetPreviousBlockHash(v string)

SetPreviousBlockHash sets PreviousBlockHash field to given value.

GetTimestamp

func (o *GetBlockDetailsByBlockHashRI) GetTimestamp() int32

GetTimestamp returns the Timestamp field if non-nil, zero value otherwise.

GetTimestampOk

func (o *GetBlockDetailsByBlockHashRI) GetTimestampOk() (*int32, bool)

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

SetTimestamp

func (o *GetBlockDetailsByBlockHashRI) SetTimestamp(v int32)

SetTimestamp sets Timestamp field to given value.

GetTransactionsCount

func (o *GetBlockDetailsByBlockHashRI) GetTransactionsCount() int32

GetTransactionsCount returns the TransactionsCount field if non-nil, zero value otherwise.

GetTransactionsCountOk

func (o *GetBlockDetailsByBlockHashRI) GetTransactionsCountOk() (*int32, bool)

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

SetTransactionsCount

func (o *GetBlockDetailsByBlockHashRI) SetTransactionsCount(v int32)

SetTransactionsCount sets TransactionsCount field to given value.

GetBlockchainSpecific

func (o *GetBlockDetailsByBlockHashRI) GetBlockchainSpecific() GetBlockDetailsByBlockHashRIBS

GetBlockchainSpecific returns the BlockchainSpecific field if non-nil, zero value otherwise.

GetBlockchainSpecificOk

func (o *GetBlockDetailsByBlockHashRI) GetBlockchainSpecificOk() (*GetBlockDetailsByBlockHashRIBS, bool)

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

SetBlockchainSpecific

func (o *GetBlockDetailsByBlockHashRI) SetBlockchainSpecific(v GetBlockDetailsByBlockHashRIBS)

SetBlockchainSpecific sets BlockchainSpecific field to given value.

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