Name | Type | Description | Notes |
---|---|---|---|
Nonce | Pointer to int64 | Sender account nonce of the transaction | [optional] |
GasPrice | Pointer to string | Gas price of the transaction | [optional] |
GasFeeCap | Pointer to string | Fee cap per gas of the transaction | [optional] |
GasTipCap | Pointer to string | GasTipCap per gas of the transaction | [optional] |
Gas | int64 | Gas limit of the transaction | |
From | string | An ethereum address. | |
To | Pointer to NullableString | An ethereum address. | [optional] |
Value | string | Amount (in wei) to send with the transaction. | |
Data | string | A hex string. | |
Hash | Pointer to string | The keccak256 hash as a hex string of 256 bits. | [optional] |
Type | int64 | Transaction type |
func NewBaseTransactionToSignTx(gas int64, from string, value string, data string, type_ int64, ) *BaseTransactionToSignTx
NewBaseTransactionToSignTx instantiates a new BaseTransactionToSignTx 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 NewBaseTransactionToSignTxWithDefaults() *BaseTransactionToSignTx
NewBaseTransactionToSignTxWithDefaults instantiates a new BaseTransactionToSignTx 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 *BaseTransactionToSignTx) GetNonce() int64
GetNonce returns the Nonce field if non-nil, zero value otherwise.
func (o *BaseTransactionToSignTx) GetNonceOk() (*int64, 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.
func (o *BaseTransactionToSignTx) SetNonce(v int64)
SetNonce sets Nonce field to given value.
func (o *BaseTransactionToSignTx) HasNonce() bool
HasNonce returns a boolean if a field has been set.
func (o *BaseTransactionToSignTx) GetGasPrice() string
GetGasPrice returns the GasPrice field if non-nil, zero value otherwise.
func (o *BaseTransactionToSignTx) GetGasPriceOk() (*string, bool)
GetGasPriceOk returns a tuple with the GasPrice field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BaseTransactionToSignTx) SetGasPrice(v string)
SetGasPrice sets GasPrice field to given value.
func (o *BaseTransactionToSignTx) HasGasPrice() bool
HasGasPrice returns a boolean if a field has been set.
func (o *BaseTransactionToSignTx) GetGasFeeCap() string
GetGasFeeCap returns the GasFeeCap field if non-nil, zero value otherwise.
func (o *BaseTransactionToSignTx) GetGasFeeCapOk() (*string, bool)
GetGasFeeCapOk returns a tuple with the GasFeeCap field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BaseTransactionToSignTx) SetGasFeeCap(v string)
SetGasFeeCap sets GasFeeCap field to given value.
func (o *BaseTransactionToSignTx) HasGasFeeCap() bool
HasGasFeeCap returns a boolean if a field has been set.
func (o *BaseTransactionToSignTx) GetGasTipCap() string
GetGasTipCap returns the GasTipCap field if non-nil, zero value otherwise.
func (o *BaseTransactionToSignTx) GetGasTipCapOk() (*string, bool)
GetGasTipCapOk returns a tuple with the GasTipCap field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BaseTransactionToSignTx) SetGasTipCap(v string)
SetGasTipCap sets GasTipCap field to given value.
func (o *BaseTransactionToSignTx) HasGasTipCap() bool
HasGasTipCap returns a boolean if a field has been set.
func (o *BaseTransactionToSignTx) GetGas() int64
GetGas returns the Gas field if non-nil, zero value otherwise.
func (o *BaseTransactionToSignTx) GetGasOk() (*int64, bool)
GetGasOk returns a tuple with the Gas field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BaseTransactionToSignTx) SetGas(v int64)
SetGas sets Gas field to given value.
func (o *BaseTransactionToSignTx) GetFrom() string
GetFrom returns the From field if non-nil, zero value otherwise.
func (o *BaseTransactionToSignTx) GetFromOk() (*string, bool)
GetFromOk returns a tuple with the From field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BaseTransactionToSignTx) SetFrom(v string)
SetFrom sets From field to given value.
func (o *BaseTransactionToSignTx) GetTo() string
GetTo returns the To field if non-nil, zero value otherwise.
func (o *BaseTransactionToSignTx) GetToOk() (*string, bool)
GetToOk returns a tuple with the To field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BaseTransactionToSignTx) SetTo(v string)
SetTo sets To field to given value.
func (o *BaseTransactionToSignTx) HasTo() bool
HasTo returns a boolean if a field has been set.
func (o *BaseTransactionToSignTx) SetToNil(b bool)
SetToNil sets the value for To to be an explicit nil
func (o *BaseTransactionToSignTx) UnsetTo()
UnsetTo ensures that no value is present for To, not even an explicit nil
func (o *BaseTransactionToSignTx) GetValue() string
GetValue returns the Value field if non-nil, zero value otherwise.
func (o *BaseTransactionToSignTx) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BaseTransactionToSignTx) SetValue(v string)
SetValue sets Value field to given value.
func (o *BaseTransactionToSignTx) GetData() string
GetData returns the Data field if non-nil, zero value otherwise.
func (o *BaseTransactionToSignTx) GetDataOk() (*string, bool)
GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BaseTransactionToSignTx) SetData(v string)
SetData sets Data field to given value.
func (o *BaseTransactionToSignTx) GetHash() string
GetHash returns the Hash field if non-nil, zero value otherwise.
func (o *BaseTransactionToSignTx) 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.
func (o *BaseTransactionToSignTx) SetHash(v string)
SetHash sets Hash field to given value.
func (o *BaseTransactionToSignTx) HasHash() bool
HasHash returns a boolean if a field has been set.
func (o *BaseTransactionToSignTx) GetType() int64
GetType returns the Type field if non-nil, zero value otherwise.
func (o *BaseTransactionToSignTx) GetTypeOk() (*int64, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BaseTransactionToSignTx) SetType(v int64)
SetType sets Type field to given value.