Skip to content

Latest commit

 

History

History
311 lines (168 loc) · 9.36 KB

TransactionFee.md

File metadata and controls

311 lines (168 loc) · 9.36 KB

TransactionFee

Properties

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]

Methods

NewTransactionFee

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

NewTransactionFeeWithDefaults

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

GetFeeType

func (o *TransactionFee) GetFeeType() FeeType

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

GetFeeTypeOk

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.

SetFeeType

func (o *TransactionFee) SetFeeType(v FeeType)

SetFeeType sets FeeType field to given value.

GetTokenId

func (o *TransactionFee) GetTokenId() string

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

GetTokenIdOk

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.

SetTokenId

func (o *TransactionFee) SetTokenId(v string)

SetTokenId sets TokenId field to given value.

HasTokenId

func (o *TransactionFee) HasTokenId() bool

HasTokenId returns a boolean if a field has been set.

GetEffectiveGasPrice

func (o *TransactionFee) GetEffectiveGasPrice() string

GetEffectiveGasPrice returns the EffectiveGasPrice field if non-nil, zero value otherwise.

GetEffectiveGasPriceOk

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.

SetEffectiveGasPrice

func (o *TransactionFee) SetEffectiveGasPrice(v string)

SetEffectiveGasPrice sets EffectiveGasPrice field to given value.

HasEffectiveGasPrice

func (o *TransactionFee) HasEffectiveGasPrice() bool

HasEffectiveGasPrice returns a boolean if a field has been set.

GetFeeUsed

func (o *TransactionFee) GetFeeUsed() string

GetFeeUsed returns the FeeUsed field if non-nil, zero value otherwise.

GetFeeUsedOk

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.

SetFeeUsed

func (o *TransactionFee) SetFeeUsed(v string)

SetFeeUsed sets FeeUsed field to given value.

HasFeeUsed

func (o *TransactionFee) HasFeeUsed() bool

HasFeeUsed returns a boolean if a field has been set.

GetGasUsed

func (o *TransactionFee) GetGasUsed() string

GetGasUsed returns the GasUsed field if non-nil, zero value otherwise.

GetGasUsedOk

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.

SetGasUsed

func (o *TransactionFee) SetGasUsed(v string)

SetGasUsed sets GasUsed field to given value.

HasGasUsed

func (o *TransactionFee) HasGasUsed() bool

HasGasUsed returns a boolean if a field has been set.

GetMaxFeePerGas

func (o *TransactionFee) GetMaxFeePerGas() string

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

GetMaxFeePerGasOk

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.

SetMaxFeePerGas

func (o *TransactionFee) SetMaxFeePerGas(v string)

SetMaxFeePerGas sets MaxFeePerGas field to given value.

HasMaxFeePerGas

func (o *TransactionFee) HasMaxFeePerGas() bool

HasMaxFeePerGas returns a boolean if a field has been set.

GetMaxPriorityFeePerGas

func (o *TransactionFee) GetMaxPriorityFeePerGas() string

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

GetMaxPriorityFeePerGasOk

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.

SetMaxPriorityFeePerGas

func (o *TransactionFee) SetMaxPriorityFeePerGas(v string)

SetMaxPriorityFeePerGas sets MaxPriorityFeePerGas field to given value.

HasMaxPriorityFeePerGas

func (o *TransactionFee) HasMaxPriorityFeePerGas() bool

HasMaxPriorityFeePerGas returns a boolean if a field has been set.

GetGasLimit

func (o *TransactionFee) GetGasLimit() string

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

GetGasLimitOk

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.

SetGasLimit

func (o *TransactionFee) SetGasLimit(v string)

SetGasLimit sets GasLimit field to given value.

HasGasLimit

func (o *TransactionFee) HasGasLimit() bool

HasGasLimit returns a boolean if a field has been set.

GetGasPrice

func (o *TransactionFee) GetGasPrice() string

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

GetGasPriceOk

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.

SetGasPrice

func (o *TransactionFee) SetGasPrice(v string)

SetGasPrice sets GasPrice field to given value.

HasGasPrice

func (o *TransactionFee) HasGasPrice() bool

HasGasPrice returns a boolean if a field has been set.

GetMaxFeeAmount

func (o *TransactionFee) GetMaxFeeAmount() string

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

GetMaxFeeAmountOk

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.

SetMaxFeeAmount

func (o *TransactionFee) SetMaxFeeAmount(v string)

SetMaxFeeAmount sets MaxFeeAmount field to given value.

HasMaxFeeAmount

func (o *TransactionFee) HasMaxFeeAmount() bool

HasMaxFeeAmount returns a boolean if a field has been set.

GetFeeRate

func (o *TransactionFee) GetFeeRate() string

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

GetFeeRateOk

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.

SetFeeRate

func (o *TransactionFee) SetFeeRate(v string)

SetFeeRate sets FeeRate field to given value.

HasFeeRate

func (o *TransactionFee) HasFeeRate() bool

HasFeeRate returns a boolean if a field has been set.

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