Name | Type | Description | Notes |
---|---|---|---|
Type | string | A hex string. | |
Nonce | string | A hex string. | |
GasPrice | Pointer to NullableString | A hex string or null. | [optional] |
MaxFeePerGas | Pointer to NullableString | A hex string or null. | [optional] |
MaxPriorityFeePerGas | Pointer to NullableString | A hex string or null. | [optional] |
Gas | string | A hex string. | |
To | NullableString | An ethereum address. | |
Value | NullableString | A hex string or null. | |
Input | string | A hex string. | |
V | string | A hex string. | |
R | string | A hex string. | |
S | string | A hex string. | |
ChainId | Pointer to string | A hex string. | [optional] |
Hash | string | The keccak256 hash as a hex string of 256 bits. |
func NewTransaction(type_ string, nonce string, gas string, to NullableString, value NullableString, input string, v string, r string, s string, hash string, ) *Transaction
NewTransaction instantiates a new Transaction 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 NewTransactionWithDefaults() *Transaction
NewTransactionWithDefaults instantiates a new Transaction 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 *Transaction) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *Transaction) GetTypeOk() (*string, 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 *Transaction) SetType(v string)
SetType sets Type field to given value.
func (o *Transaction) GetNonce() string
GetNonce returns the Nonce field if non-nil, zero value otherwise.
func (o *Transaction) 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.
func (o *Transaction) SetNonce(v string)
SetNonce sets Nonce field to given value.
func (o *Transaction) GetGasPrice() string
GetGasPrice returns the GasPrice field if non-nil, zero value otherwise.
func (o *Transaction) 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 *Transaction) SetGasPrice(v string)
SetGasPrice sets GasPrice field to given value.
func (o *Transaction) HasGasPrice() bool
HasGasPrice returns a boolean if a field has been set.
func (o *Transaction) SetGasPriceNil(b bool)
SetGasPriceNil sets the value for GasPrice to be an explicit nil
func (o *Transaction) UnsetGasPrice()
UnsetGasPrice ensures that no value is present for GasPrice, not even an explicit nil
func (o *Transaction) GetMaxFeePerGas() string
GetMaxFeePerGas returns the MaxFeePerGas field if non-nil, zero value otherwise.
func (o *Transaction) GetMaxFeePerGasOk() (*string, bool)
GetMaxFeePerGasOk returns a tuple with the MaxFeePerGas field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Transaction) SetMaxFeePerGas(v string)
SetMaxFeePerGas sets MaxFeePerGas field to given value.
func (o *Transaction) HasMaxFeePerGas() bool
HasMaxFeePerGas returns a boolean if a field has been set.
func (o *Transaction) SetMaxFeePerGasNil(b bool)
SetMaxFeePerGasNil sets the value for MaxFeePerGas to be an explicit nil
func (o *Transaction) UnsetMaxFeePerGas()
UnsetMaxFeePerGas ensures that no value is present for MaxFeePerGas, not even an explicit nil
func (o *Transaction) GetMaxPriorityFeePerGas() string
GetMaxPriorityFeePerGas returns the MaxPriorityFeePerGas field if non-nil, zero value otherwise.
func (o *Transaction) GetMaxPriorityFeePerGasOk() (*string, bool)
GetMaxPriorityFeePerGasOk returns a tuple with the MaxPriorityFeePerGas field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Transaction) SetMaxPriorityFeePerGas(v string)
SetMaxPriorityFeePerGas sets MaxPriorityFeePerGas field to given value.
func (o *Transaction) HasMaxPriorityFeePerGas() bool
HasMaxPriorityFeePerGas returns a boolean if a field has been set.
func (o *Transaction) SetMaxPriorityFeePerGasNil(b bool)
SetMaxPriorityFeePerGasNil sets the value for MaxPriorityFeePerGas to be an explicit nil
func (o *Transaction) UnsetMaxPriorityFeePerGas()
UnsetMaxPriorityFeePerGas ensures that no value is present for MaxPriorityFeePerGas, not even an explicit nil
func (o *Transaction) GetGas() string
GetGas returns the Gas field if non-nil, zero value otherwise.
func (o *Transaction) GetGasOk() (*string, 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 *Transaction) SetGas(v string)
SetGas sets Gas field to given value.
func (o *Transaction) GetTo() string
GetTo returns the To field if non-nil, zero value otherwise.
func (o *Transaction) 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 *Transaction) SetTo(v string)
SetTo sets To field to given value.
func (o *Transaction) SetToNil(b bool)
SetToNil sets the value for To to be an explicit nil
func (o *Transaction) UnsetTo()
UnsetTo ensures that no value is present for To, not even an explicit nil
func (o *Transaction) GetValue() string
GetValue returns the Value field if non-nil, zero value otherwise.
func (o *Transaction) 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 *Transaction) SetValue(v string)
SetValue sets Value field to given value.
func (o *Transaction) SetValueNil(b bool)
SetValueNil sets the value for Value to be an explicit nil
func (o *Transaction) UnsetValue()
UnsetValue ensures that no value is present for Value, not even an explicit nil
func (o *Transaction) GetInput() string
GetInput returns the Input field if non-nil, zero value otherwise.
func (o *Transaction) GetInputOk() (*string, bool)
GetInputOk returns a tuple with the Input field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Transaction) SetInput(v string)
SetInput sets Input field to given value.
func (o *Transaction) GetV() string
GetV returns the V field if non-nil, zero value otherwise.
func (o *Transaction) GetVOk() (*string, bool)
GetVOk returns a tuple with the V field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Transaction) SetV(v string)
SetV sets V field to given value.
func (o *Transaction) GetR() string
GetR returns the R field if non-nil, zero value otherwise.
func (o *Transaction) GetROk() (*string, bool)
GetROk returns a tuple with the R field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Transaction) SetR(v string)
SetR sets R field to given value.
func (o *Transaction) GetS() string
GetS returns the S field if non-nil, zero value otherwise.
func (o *Transaction) GetSOk() (*string, bool)
GetSOk returns a tuple with the S field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Transaction) SetS(v string)
SetS sets S field to given value.
func (o *Transaction) GetChainId() string
GetChainId returns the ChainId field if non-nil, zero value otherwise.
func (o *Transaction) GetChainIdOk() (*string, 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 *Transaction) SetChainId(v string)
SetChainId sets ChainId field to given value.
func (o *Transaction) HasChainId() bool
HasChainId returns a boolean if a field has been set.
func (o *Transaction) GetHash() string
GetHash returns the Hash field if non-nil, zero value otherwise.
func (o *Transaction) 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 *Transaction) SetHash(v string)
SetHash sets Hash field to given value.