Name | Type | Description | Notes |
---|---|---|---|
PoolType | StakingPoolType | ||
FinalityProviderPublicKey | string | The public key of the finality provider. | |
StakeBlockTime | int64 | The number of blocks that need to be processed before the locked tokens are unlocked and become accessible. | |
AutoBroadcast | Pointer to bool | Whether to automatically broadcast the transaction. The default value is `true`. - `true`: Automatically broadcast the transaction. - `false`: The transaction will not be submitted to the blockchain automatically. You can call Broadcast signed transactions to broadcast the transaction to the blockchain, or retrieve the signed raw transaction data `raw_tx` by calling Get transaction information and broadcast it yourself. | [optional] |
func NewBabylonStakeExtra(poolType StakingPoolType, finalityProviderPublicKey string, stakeBlockTime int64, ) *BabylonStakeExtra
NewBabylonStakeExtra instantiates a new BabylonStakeExtra 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 NewBabylonStakeExtraWithDefaults() *BabylonStakeExtra
NewBabylonStakeExtraWithDefaults instantiates a new BabylonStakeExtra 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 *BabylonStakeExtra) GetPoolType() StakingPoolType
GetPoolType returns the PoolType field if non-nil, zero value otherwise.
func (o *BabylonStakeExtra) GetPoolTypeOk() (*StakingPoolType, bool)
GetPoolTypeOk returns a tuple with the PoolType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BabylonStakeExtra) SetPoolType(v StakingPoolType)
SetPoolType sets PoolType field to given value.
func (o *BabylonStakeExtra) GetFinalityProviderPublicKey() string
GetFinalityProviderPublicKey returns the FinalityProviderPublicKey field if non-nil, zero value otherwise.
func (o *BabylonStakeExtra) GetFinalityProviderPublicKeyOk() (*string, bool)
GetFinalityProviderPublicKeyOk returns a tuple with the FinalityProviderPublicKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BabylonStakeExtra) SetFinalityProviderPublicKey(v string)
SetFinalityProviderPublicKey sets FinalityProviderPublicKey field to given value.
func (o *BabylonStakeExtra) GetStakeBlockTime() int64
GetStakeBlockTime returns the StakeBlockTime field if non-nil, zero value otherwise.
func (o *BabylonStakeExtra) GetStakeBlockTimeOk() (*int64, bool)
GetStakeBlockTimeOk returns a tuple with the StakeBlockTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BabylonStakeExtra) SetStakeBlockTime(v int64)
SetStakeBlockTime sets StakeBlockTime field to given value.
func (o *BabylonStakeExtra) GetAutoBroadcast() bool
GetAutoBroadcast returns the AutoBroadcast field if non-nil, zero value otherwise.
func (o *BabylonStakeExtra) GetAutoBroadcastOk() (*bool, bool)
GetAutoBroadcastOk returns a tuple with the AutoBroadcast field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BabylonStakeExtra) SetAutoBroadcast(v bool)
SetAutoBroadcast sets AutoBroadcast field to given value.
func (o *BabylonStakeExtra) HasAutoBroadcast() bool
HasAutoBroadcast returns a boolean if a field has been set.