Name | Type | Description | Notes |
---|---|---|---|
FeeType | FeeType | [default to FEETYPE_EVM_EIP_1559] | |
TokenId | Pointer to string | The token ID of the transaction fee. | [optional] |
EffectiveGasPrice | Pointer to string | The gas price (gas fee per gas unit) on the chain, in wei. The gas price represents the amount of ETH that must be paid to validators for processing transactions. | [optional] |
FeeUsed | Pointer to string | The transaction fee. | [optional] |
GasUsed | Pointer to string | The gas units used in the transaction. | [optional] |
MaxFeePerGas | Pointer to string | The maximum gas fee per gas unit used on the chain, in wei. | [optional] |
MaxPriorityFeePerGas | Pointer to string | The maximum priority fee per gas unit used, in wei. The maximum priority fee represents the highest amount of miner tips that you are willing to pay for your transaction. | [optional] |
GasLimit | Pointer to string | The gas limit. It represents the maximum number of gas units that you are willing to pay for the execution of a transaction or Ethereum Virtual Machine (EVM) operation. The gas unit cost of each operation varies. | [optional] |
GasPrice | Pointer to string | The gas price, in wei. The gas price represents the amount of ETH that must be paid to validators for processing transactions per gas unit used. | [optional] |
MaxFeeAmount | Pointer to string | The maximum fee that you are willing to pay for the transaction. The transaction will fail if the transaction fee exceeds the maximum fee. | [optional] |
FeeRate | Pointer to string | The fee rate in sat/vByte. The fee rate represents the satoshis you are willing to pay for each byte of data that your transaction will consume on the blockchain. | [optional] |
func NewTransactionFee(feeType FeeType, ) *TransactionFee
NewTransactionFee instantiates a new TransactionFee 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 NewTransactionFeeWithDefaults() *TransactionFee
NewTransactionFeeWithDefaults instantiates a new TransactionFee 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 *TransactionFee) GetFeeType() FeeType
GetFeeType returns the FeeType field if non-nil, zero value otherwise.
func (o *TransactionFee) GetFeeTypeOk() (*FeeType, bool)
GetFeeTypeOk returns a tuple with the FeeType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransactionFee) SetFeeType(v FeeType)
SetFeeType sets FeeType field to given value.
func (o *TransactionFee) GetTokenId() string
GetTokenId returns the TokenId field if non-nil, zero value otherwise.
func (o *TransactionFee) GetTokenIdOk() (*string, bool)
GetTokenIdOk returns a tuple with the TokenId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransactionFee) SetTokenId(v string)
SetTokenId sets TokenId field to given value.
func (o *TransactionFee) HasTokenId() bool
HasTokenId returns a boolean if a field has been set.
func (o *TransactionFee) GetEffectiveGasPrice() string
GetEffectiveGasPrice returns the EffectiveGasPrice field if non-nil, zero value otherwise.
func (o *TransactionFee) GetEffectiveGasPriceOk() (*string, bool)
GetEffectiveGasPriceOk returns a tuple with the EffectiveGasPrice field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransactionFee) SetEffectiveGasPrice(v string)
SetEffectiveGasPrice sets EffectiveGasPrice field to given value.
func (o *TransactionFee) HasEffectiveGasPrice() bool
HasEffectiveGasPrice returns a boolean if a field has been set.
func (o *TransactionFee) GetFeeUsed() string
GetFeeUsed returns the FeeUsed field if non-nil, zero value otherwise.
func (o *TransactionFee) GetFeeUsedOk() (*string, bool)
GetFeeUsedOk returns a tuple with the FeeUsed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransactionFee) SetFeeUsed(v string)
SetFeeUsed sets FeeUsed field to given value.
func (o *TransactionFee) HasFeeUsed() bool
HasFeeUsed returns a boolean if a field has been set.
func (o *TransactionFee) GetGasUsed() string
GetGasUsed returns the GasUsed field if non-nil, zero value otherwise.
func (o *TransactionFee) 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.
func (o *TransactionFee) SetGasUsed(v string)
SetGasUsed sets GasUsed field to given value.
func (o *TransactionFee) HasGasUsed() bool
HasGasUsed returns a boolean if a field has been set.
func (o *TransactionFee) GetMaxFeePerGas() string
GetMaxFeePerGas returns the MaxFeePerGas field if non-nil, zero value otherwise.
func (o *TransactionFee) 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 *TransactionFee) SetMaxFeePerGas(v string)
SetMaxFeePerGas sets MaxFeePerGas field to given value.
func (o *TransactionFee) HasMaxFeePerGas() bool
HasMaxFeePerGas returns a boolean if a field has been set.
func (o *TransactionFee) GetMaxPriorityFeePerGas() string
GetMaxPriorityFeePerGas returns the MaxPriorityFeePerGas field if non-nil, zero value otherwise.
func (o *TransactionFee) 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 *TransactionFee) SetMaxPriorityFeePerGas(v string)
SetMaxPriorityFeePerGas sets MaxPriorityFeePerGas field to given value.
func (o *TransactionFee) HasMaxPriorityFeePerGas() bool
HasMaxPriorityFeePerGas returns a boolean if a field has been set.
func (o *TransactionFee) GetGasLimit() string
GetGasLimit returns the GasLimit field if non-nil, zero value otherwise.
func (o *TransactionFee) 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.
func (o *TransactionFee) SetGasLimit(v string)
SetGasLimit sets GasLimit field to given value.
func (o *TransactionFee) HasGasLimit() bool
HasGasLimit returns a boolean if a field has been set.
func (o *TransactionFee) GetGasPrice() string
GetGasPrice returns the GasPrice field if non-nil, zero value otherwise.
func (o *TransactionFee) 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 *TransactionFee) SetGasPrice(v string)
SetGasPrice sets GasPrice field to given value.
func (o *TransactionFee) HasGasPrice() bool
HasGasPrice returns a boolean if a field has been set.
func (o *TransactionFee) GetMaxFeeAmount() string
GetMaxFeeAmount returns the MaxFeeAmount field if non-nil, zero value otherwise.
func (o *TransactionFee) GetMaxFeeAmountOk() (*string, bool)
GetMaxFeeAmountOk returns a tuple with the MaxFeeAmount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransactionFee) SetMaxFeeAmount(v string)
SetMaxFeeAmount sets MaxFeeAmount field to given value.
func (o *TransactionFee) HasMaxFeeAmount() bool
HasMaxFeeAmount returns a boolean if a field has been set.
func (o *TransactionFee) GetFeeRate() string
GetFeeRate returns the FeeRate field if non-nil, zero value otherwise.
func (o *TransactionFee) GetFeeRateOk() (*string, bool)
GetFeeRateOk returns a tuple with the FeeRate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransactionFee) SetFeeRate(v string)
SetFeeRate sets FeeRate field to given value.
func (o *TransactionFee) HasFeeRate() bool
HasFeeRate returns a boolean if a field has been set.