Name | Type | Description | Notes |
---|---|---|---|
FeeType | FeeType | [default to FEETYPE_EVM_EIP_1559] | |
TokenId | string | The token ID of the transaction fee. | |
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] |
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] |
MaxFeePerGas | string | The maximum gas fee per gas unit used on the chain, in wei. | |
MaxPriorityFeePerGas | 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. | |
GasPrice | 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. | |
FeeRate | 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. |
func NewTransactionRequestFee(feeType FeeType, tokenId string, maxFeePerGas string, maxPriorityFeePerGas string, gasPrice string, feeRate string, ) *TransactionRequestFee
NewTransactionRequestFee instantiates a new TransactionRequestFee 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 NewTransactionRequestFeeWithDefaults() *TransactionRequestFee
NewTransactionRequestFeeWithDefaults instantiates a new TransactionRequestFee 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 *TransactionRequestFee) GetFeeType() FeeType
GetFeeType returns the FeeType field if non-nil, zero value otherwise.
func (o *TransactionRequestFee) 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 *TransactionRequestFee) SetFeeType(v FeeType)
SetFeeType sets FeeType field to given value.
func (o *TransactionRequestFee) GetTokenId() string
GetTokenId returns the TokenId field if non-nil, zero value otherwise.
func (o *TransactionRequestFee) 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 *TransactionRequestFee) SetTokenId(v string)
SetTokenId sets TokenId field to given value.
func (o *TransactionRequestFee) GetMaxFeeAmount() string
GetMaxFeeAmount returns the MaxFeeAmount field if non-nil, zero value otherwise.
func (o *TransactionRequestFee) 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 *TransactionRequestFee) SetMaxFeeAmount(v string)
SetMaxFeeAmount sets MaxFeeAmount field to given value.
func (o *TransactionRequestFee) HasMaxFeeAmount() bool
HasMaxFeeAmount returns a boolean if a field has been set.
func (o *TransactionRequestFee) GetGasLimit() string
GetGasLimit returns the GasLimit field if non-nil, zero value otherwise.
func (o *TransactionRequestFee) 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 *TransactionRequestFee) SetGasLimit(v string)
SetGasLimit sets GasLimit field to given value.
func (o *TransactionRequestFee) HasGasLimit() bool
HasGasLimit returns a boolean if a field has been set.
func (o *TransactionRequestFee) GetMaxFeePerGas() string
GetMaxFeePerGas returns the MaxFeePerGas field if non-nil, zero value otherwise.
func (o *TransactionRequestFee) 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 *TransactionRequestFee) SetMaxFeePerGas(v string)
SetMaxFeePerGas sets MaxFeePerGas field to given value.
func (o *TransactionRequestFee) GetMaxPriorityFeePerGas() string
GetMaxPriorityFeePerGas returns the MaxPriorityFeePerGas field if non-nil, zero value otherwise.
func (o *TransactionRequestFee) 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 *TransactionRequestFee) SetMaxPriorityFeePerGas(v string)
SetMaxPriorityFeePerGas sets MaxPriorityFeePerGas field to given value.
func (o *TransactionRequestFee) GetGasPrice() string
GetGasPrice returns the GasPrice field if non-nil, zero value otherwise.
func (o *TransactionRequestFee) 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 *TransactionRequestFee) SetGasPrice(v string)
SetGasPrice sets GasPrice field to given value.
func (o *TransactionRequestFee) GetFeeRate() string
GetFeeRate returns the FeeRate field if non-nil, zero value otherwise.
func (o *TransactionRequestFee) 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 *TransactionRequestFee) SetFeeRate(v string)
SetFeeRate sets FeeRate field to given value.