Name | Type | Description | Notes |
---|---|---|---|
BlockNumber | int64 | ||
Version | string | The client version for this chain node. | |
ChainID | int64 | ||
NetworkID | int64 | ||
BaseFee | Pointer to string | The current base fee (only available for chains that support EIP-1559). | [optional] |
func NewChainStatus(blockNumber int64, version string, chainID int64, networkID int64, ) *ChainStatus
NewChainStatus instantiates a new ChainStatus 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 NewChainStatusWithDefaults() *ChainStatus
NewChainStatusWithDefaults instantiates a new ChainStatus 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 *ChainStatus) GetBlockNumber() int64
GetBlockNumber returns the BlockNumber field if non-nil, zero value otherwise.
func (o *ChainStatus) GetBlockNumberOk() (*int64, bool)
GetBlockNumberOk returns a tuple with the BlockNumber field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ChainStatus) SetBlockNumber(v int64)
SetBlockNumber sets BlockNumber field to given value.
func (o *ChainStatus) GetVersion() string
GetVersion returns the Version field if non-nil, zero value otherwise.
func (o *ChainStatus) GetVersionOk() (*string, 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 *ChainStatus) SetVersion(v string)
SetVersion sets Version field to given value.
func (o *ChainStatus) GetChainID() int64
GetChainID returns the ChainID field if non-nil, zero value otherwise.
func (o *ChainStatus) GetChainIDOk() (*int64, bool)
GetChainIDOk returns a tuple with the ChainID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ChainStatus) SetChainID(v int64)
SetChainID sets ChainID field to given value.
func (o *ChainStatus) GetNetworkID() int64
GetNetworkID returns the NetworkID field if non-nil, zero value otherwise.
func (o *ChainStatus) GetNetworkIDOk() (*int64, bool)
GetNetworkIDOk returns a tuple with the NetworkID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ChainStatus) SetNetworkID(v int64)
SetNetworkID sets NetworkID field to given value.
func (o *ChainStatus) GetBaseFee() string
GetBaseFee returns the BaseFee field if non-nil, zero value otherwise.
func (o *ChainStatus) GetBaseFeeOk() (*string, bool)
GetBaseFeeOk returns a tuple with the BaseFee field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ChainStatus) SetBaseFee(v string)
SetBaseFee sets BaseFee field to given value.
func (o *ChainStatus) HasBaseFee() bool
HasBaseFee returns a boolean if a field has been set.