Skip to content

Latest commit

 

History

History
192 lines (103 loc) · 5.38 KB

EstimatedFee.md

File metadata and controls

192 lines (103 loc) · 5.38 KB

EstimatedFee

Properties

Name Type Description Notes
FeeType FeeType [default to FEETYPE_EVM_EIP_1559]
TokenId string The token ID of the transaction fee.
IsLoop Pointer to bool Whether the transaction was executed as a Cobo Loop transfer. - `true`: The transaction was executed as a Cobo Loop transfer. - `false`: The transaction was not executed as a Cobo Loop transfer. [optional]
FeeAmount string The transaction fee that you need to pay for the transaction.
Slow Pointer to EstimatedUtxoFeeSlow [optional]
Recommended EstimatedUtxoFeeSlow
Fast Pointer to EstimatedUtxoFeeSlow [optional]

Methods

NewEstimatedFee

func NewEstimatedFee(feeType FeeType, tokenId string, feeAmount string, recommended EstimatedUtxoFeeSlow, ) *EstimatedFee

NewEstimatedFee instantiates a new EstimatedFee 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

NewEstimatedFeeWithDefaults

func NewEstimatedFeeWithDefaults() *EstimatedFee

NewEstimatedFeeWithDefaults instantiates a new EstimatedFee 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 *EstimatedFee) GetFeeType() FeeType

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

GetFeeTypeOk

func (o *EstimatedFee) 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 *EstimatedFee) SetFeeType(v FeeType)

SetFeeType sets FeeType field to given value.

GetTokenId

func (o *EstimatedFee) GetTokenId() string

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

GetTokenIdOk

func (o *EstimatedFee) 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 *EstimatedFee) SetTokenId(v string)

SetTokenId sets TokenId field to given value.

GetIsLoop

func (o *EstimatedFee) GetIsLoop() bool

GetIsLoop returns the IsLoop field if non-nil, zero value otherwise.

GetIsLoopOk

func (o *EstimatedFee) GetIsLoopOk() (*bool, bool)

GetIsLoopOk returns a tuple with the IsLoop field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetIsLoop

func (o *EstimatedFee) SetIsLoop(v bool)

SetIsLoop sets IsLoop field to given value.

HasIsLoop

func (o *EstimatedFee) HasIsLoop() bool

HasIsLoop returns a boolean if a field has been set.

GetFeeAmount

func (o *EstimatedFee) GetFeeAmount() string

GetFeeAmount returns the FeeAmount field if non-nil, zero value otherwise.

GetFeeAmountOk

func (o *EstimatedFee) GetFeeAmountOk() (*string, bool)

GetFeeAmountOk returns a tuple with the FeeAmount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetFeeAmount

func (o *EstimatedFee) SetFeeAmount(v string)

SetFeeAmount sets FeeAmount field to given value.

GetSlow

func (o *EstimatedFee) GetSlow() EstimatedUtxoFeeSlow

GetSlow returns the Slow field if non-nil, zero value otherwise.

GetSlowOk

func (o *EstimatedFee) GetSlowOk() (*EstimatedUtxoFeeSlow, bool)

GetSlowOk returns a tuple with the Slow field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSlow

func (o *EstimatedFee) SetSlow(v EstimatedUtxoFeeSlow)

SetSlow sets Slow field to given value.

HasSlow

func (o *EstimatedFee) HasSlow() bool

HasSlow returns a boolean if a field has been set.

GetRecommended

func (o *EstimatedFee) GetRecommended() EstimatedUtxoFeeSlow

GetRecommended returns the Recommended field if non-nil, zero value otherwise.

GetRecommendedOk

func (o *EstimatedFee) GetRecommendedOk() (*EstimatedUtxoFeeSlow, bool)

GetRecommendedOk returns a tuple with the Recommended field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRecommended

func (o *EstimatedFee) SetRecommended(v EstimatedUtxoFeeSlow)

SetRecommended sets Recommended field to given value.

GetFast

func (o *EstimatedFee) GetFast() EstimatedUtxoFeeSlow

GetFast returns the Fast field if non-nil, zero value otherwise.

GetFastOk

func (o *EstimatedFee) GetFastOk() (*EstimatedUtxoFeeSlow, bool)

GetFastOk returns a tuple with the Fast field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetFast

func (o *EstimatedFee) SetFast(v EstimatedUtxoFeeSlow)

SetFast sets Fast field to given value.

HasFast

func (o *EstimatedFee) HasFast() bool

HasFast returns a boolean if a field has been set.

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