Skip to content

Latest commit

 

History

History
208 lines (111 loc) · 6.75 KB

TransactionRequestFee.md

File metadata and controls

208 lines (111 loc) · 6.75 KB

TransactionRequestFee

Properties

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.

Methods

NewTransactionRequestFee

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

NewTransactionRequestFeeWithDefaults

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

GetFeeType

func (o *TransactionRequestFee) GetFeeType() FeeType

GetFeeType returns the FeeType field if non-nil, zero value otherwise.

GetFeeTypeOk

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.

SetFeeType

func (o *TransactionRequestFee) SetFeeType(v FeeType)

SetFeeType sets FeeType field to given value.

GetTokenId

func (o *TransactionRequestFee) GetTokenId() string

GetTokenId returns the TokenId field if non-nil, zero value otherwise.

GetTokenIdOk

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.

SetTokenId

func (o *TransactionRequestFee) SetTokenId(v string)

SetTokenId sets TokenId field to given value.

GetMaxFeeAmount

func (o *TransactionRequestFee) GetMaxFeeAmount() string

GetMaxFeeAmount returns the MaxFeeAmount field if non-nil, zero value otherwise.

GetMaxFeeAmountOk

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.

SetMaxFeeAmount

func (o *TransactionRequestFee) SetMaxFeeAmount(v string)

SetMaxFeeAmount sets MaxFeeAmount field to given value.

HasMaxFeeAmount

func (o *TransactionRequestFee) HasMaxFeeAmount() bool

HasMaxFeeAmount returns a boolean if a field has been set.

GetGasLimit

func (o *TransactionRequestFee) GetGasLimit() string

GetGasLimit returns the GasLimit field if non-nil, zero value otherwise.

GetGasLimitOk

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.

SetGasLimit

func (o *TransactionRequestFee) SetGasLimit(v string)

SetGasLimit sets GasLimit field to given value.

HasGasLimit

func (o *TransactionRequestFee) HasGasLimit() bool

HasGasLimit returns a boolean if a field has been set.

GetMaxFeePerGas

func (o *TransactionRequestFee) GetMaxFeePerGas() string

GetMaxFeePerGas returns the MaxFeePerGas field if non-nil, zero value otherwise.

GetMaxFeePerGasOk

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.

SetMaxFeePerGas

func (o *TransactionRequestFee) SetMaxFeePerGas(v string)

SetMaxFeePerGas sets MaxFeePerGas field to given value.

GetMaxPriorityFeePerGas

func (o *TransactionRequestFee) GetMaxPriorityFeePerGas() string

GetMaxPriorityFeePerGas returns the MaxPriorityFeePerGas field if non-nil, zero value otherwise.

GetMaxPriorityFeePerGasOk

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.

SetMaxPriorityFeePerGas

func (o *TransactionRequestFee) SetMaxPriorityFeePerGas(v string)

SetMaxPriorityFeePerGas sets MaxPriorityFeePerGas field to given value.

GetGasPrice

func (o *TransactionRequestFee) GetGasPrice() string

GetGasPrice returns the GasPrice field if non-nil, zero value otherwise.

GetGasPriceOk

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.

SetGasPrice

func (o *TransactionRequestFee) SetGasPrice(v string)

SetGasPrice sets GasPrice field to given value.

GetFeeRate

func (o *TransactionRequestFee) GetFeeRate() string

GetFeeRate returns the FeeRate field if non-nil, zero value otherwise.

GetFeeRateOk

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.

SetFeeRate

func (o *TransactionRequestFee) SetFeeRate(v string)

SetFeeRate sets FeeRate field to given value.

[Back to Model list] [Back to API list] [Back to README]