Skip to content

Latest commit

 

History

History
245 lines (130 loc) · 8.24 KB

GetBlockDetailsByBlockHashFromCallbackRIBSBSC.md

File metadata and controls

245 lines (130 loc) · 8.24 KB

GetBlockDetailsByBlockHashFromCallbackRIBSBSC

Properties

Name Type Description Notes
Difficulty string Represents a mathematical value of how hard it is to find a valid hash for this block.
ExtraData string Represents any data that can be included by the miner in the block.
GasLimit string Defines the total gas limit of all transactions in the block.
GasUsed string Represents the total amount of gas used by all transactions in this block.
MinedInSeconds int32 Specifies the amount of time required for the block to be mined in second
Nonce string Represents a random value that can be adjusted to satisfy the proof of work
Sha3Uncles string Defines the combined hash of all uncles for a given parent.
Size int32 Represents the total size of the block in Bytes.
TotalDifficulty string Defines the total difficulty of the chain until this block, i.e. how difficult it is for a specific miner to mine a new block
Uncles Pointer to []string [optional]

Methods

NewGetBlockDetailsByBlockHashFromCallbackRIBSBSC

func NewGetBlockDetailsByBlockHashFromCallbackRIBSBSC(difficulty string, extraData string, gasLimit string, gasUsed string, minedInSeconds int32, nonce string, sha3Uncles string, size int32, totalDifficulty string, ) *GetBlockDetailsByBlockHashFromCallbackRIBSBSC

NewGetBlockDetailsByBlockHashFromCallbackRIBSBSC instantiates a new GetBlockDetailsByBlockHashFromCallbackRIBSBSC 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

NewGetBlockDetailsByBlockHashFromCallbackRIBSBSCWithDefaults

func NewGetBlockDetailsByBlockHashFromCallbackRIBSBSCWithDefaults() *GetBlockDetailsByBlockHashFromCallbackRIBSBSC

NewGetBlockDetailsByBlockHashFromCallbackRIBSBSCWithDefaults instantiates a new GetBlockDetailsByBlockHashFromCallbackRIBSBSC 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 *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetDifficulty() string

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

GetDifficultyOk

func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) 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 *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) SetDifficulty(v string)

SetDifficulty sets Difficulty field to given value.

GetExtraData

func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetExtraData() string

GetExtraData returns the ExtraData field if non-nil, zero value otherwise.

GetExtraDataOk

func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetExtraDataOk() (*string, bool)

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

SetExtraData

func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) SetExtraData(v string)

SetExtraData sets ExtraData field to given value.

GetGasLimit

func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetGasLimit() string

GetGasLimit returns the GasLimit field if non-nil, zero value otherwise.

GetGasLimitOk

func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetGasLimitOk() (*string, bool)

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

SetGasLimit

func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) SetGasLimit(v string)

SetGasLimit sets GasLimit field to given value.

GetGasUsed

func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetGasUsed() string

GetGasUsed returns the GasUsed field if non-nil, zero value otherwise.

GetGasUsedOk

func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetGasUsedOk() (*string, bool)

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

SetGasUsed

func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) SetGasUsed(v string)

SetGasUsed sets GasUsed field to given value.

GetMinedInSeconds

func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetMinedInSeconds() int32

GetMinedInSeconds returns the MinedInSeconds field if non-nil, zero value otherwise.

GetMinedInSecondsOk

func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetMinedInSecondsOk() (*int32, bool)

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

SetMinedInSeconds

func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) SetMinedInSeconds(v int32)

SetMinedInSeconds sets MinedInSeconds field to given value.

GetNonce

func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetNonce() string

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

GetNonceOk

func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) 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 *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) SetNonce(v string)

SetNonce sets Nonce field to given value.

GetSha3Uncles

func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetSha3Uncles() string

GetSha3Uncles returns the Sha3Uncles field if non-nil, zero value otherwise.

GetSha3UnclesOk

func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetSha3UnclesOk() (*string, bool)

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

SetSha3Uncles

func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) SetSha3Uncles(v string)

SetSha3Uncles sets Sha3Uncles field to given value.

GetSize

func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetSize() int32

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

GetSizeOk

func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) 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 *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) SetSize(v int32)

SetSize sets Size field to given value.

GetTotalDifficulty

func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetTotalDifficulty() string

GetTotalDifficulty returns the TotalDifficulty field if non-nil, zero value otherwise.

GetTotalDifficultyOk

func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetTotalDifficultyOk() (*string, bool)

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

SetTotalDifficulty

func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) SetTotalDifficulty(v string)

SetTotalDifficulty sets TotalDifficulty field to given value.

GetUncles

func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetUncles() []string

GetUncles returns the Uncles field if non-nil, zero value otherwise.

GetUnclesOk

func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetUnclesOk() (*[]string, bool)

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

SetUncles

func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) SetUncles(v []string)

SetUncles sets Uncles field to given value.

HasUncles

func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) HasUncles() bool

HasUncles returns a boolean if a field has been set.

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