Name | Type | Description | Notes |
---|---|---|---|
RequestId | Pointer to string | The request ID that is used to track a transaction request. The request ID is provided by you and must be unique within your organization. It is recommended to use the same request ID as the transaction for which you want to estimate the transaction fee. | [optional] |
RequestType | EstimateFeeRequestType | ||
Source | ContractCallSource | ||
TokenId | string | The token ID of the transferred token. You can retrieve the IDs of all the tokens you can use by calling List enabled tokens. | |
Destination | ContractCallDestination | ||
FeeType | Pointer to FeeType | [optional] [default to FEETYPE_EVM_EIP_1559] | |
ChainId | string | The chain ID of the chain on which the smart contract is deployed. You can retrieve the IDs of all the chains you can use by calling List enabled chains. |
func NewEstimateFeeParams(requestType EstimateFeeRequestType, source ContractCallSource, tokenId string, destination ContractCallDestination, chainId string, ) *EstimateFeeParams
NewEstimateFeeParams instantiates a new EstimateFeeParams 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 NewEstimateFeeParamsWithDefaults() *EstimateFeeParams
NewEstimateFeeParamsWithDefaults instantiates a new EstimateFeeParams 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 *EstimateFeeParams) GetRequestId() string
GetRequestId returns the RequestId field if non-nil, zero value otherwise.
func (o *EstimateFeeParams) GetRequestIdOk() (*string, bool)
GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EstimateFeeParams) SetRequestId(v string)
SetRequestId sets RequestId field to given value.
func (o *EstimateFeeParams) HasRequestId() bool
HasRequestId returns a boolean if a field has been set.
func (o *EstimateFeeParams) GetRequestType() EstimateFeeRequestType
GetRequestType returns the RequestType field if non-nil, zero value otherwise.
func (o *EstimateFeeParams) GetRequestTypeOk() (*EstimateFeeRequestType, bool)
GetRequestTypeOk returns a tuple with the RequestType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EstimateFeeParams) SetRequestType(v EstimateFeeRequestType)
SetRequestType sets RequestType field to given value.
func (o *EstimateFeeParams) GetSource() ContractCallSource
GetSource returns the Source field if non-nil, zero value otherwise.
func (o *EstimateFeeParams) GetSourceOk() (*ContractCallSource, bool)
GetSourceOk returns a tuple with the Source field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EstimateFeeParams) SetSource(v ContractCallSource)
SetSource sets Source field to given value.
func (o *EstimateFeeParams) GetTokenId() string
GetTokenId returns the TokenId field if non-nil, zero value otherwise.
func (o *EstimateFeeParams) 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 *EstimateFeeParams) SetTokenId(v string)
SetTokenId sets TokenId field to given value.
func (o *EstimateFeeParams) GetDestination() ContractCallDestination
GetDestination returns the Destination field if non-nil, zero value otherwise.
func (o *EstimateFeeParams) GetDestinationOk() (*ContractCallDestination, bool)
GetDestinationOk returns a tuple with the Destination field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EstimateFeeParams) SetDestination(v ContractCallDestination)
SetDestination sets Destination field to given value.
func (o *EstimateFeeParams) GetFeeType() FeeType
GetFeeType returns the FeeType field if non-nil, zero value otherwise.
func (o *EstimateFeeParams) 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 *EstimateFeeParams) SetFeeType(v FeeType)
SetFeeType sets FeeType field to given value.
func (o *EstimateFeeParams) HasFeeType() bool
HasFeeType returns a boolean if a field has been set.
func (o *EstimateFeeParams) GetChainId() string
GetChainId returns the ChainId field if non-nil, zero value otherwise.
func (o *EstimateFeeParams) GetChainIdOk() (*string, bool)
GetChainIdOk returns a tuple with the ChainId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EstimateFeeParams) SetChainId(v string)
SetChainId sets ChainId field to given value.