Name | Type | Description | Notes |
---|---|---|---|
TokenId | string | The token ID, which is the unique identifier of a token. You can retrieve the IDs of all the tokens you can use by calling List enabled tokens. | |
ChainId | string | The ID of the chain on which the token operates. | |
AssetId | Pointer to string | (This concept applies to Exchange Wallets only) The asset ID. An asset ID is the unique identifier of the asset held within your linked exchange account. | [optional] |
Symbol | Pointer to string | The token symbol, which is the abbreviated name of a token. | [optional] |
Name | Pointer to string | The token name, which is the full name of a token. | [optional] |
Decimal | Pointer to int32 | The token decimal. | [optional] |
IconUrl | Pointer to string | The URL of the token icon. | [optional] |
TokenAddress | Pointer to string | The token address, if applicable. | [optional] |
FeeTokenId | Pointer to string | The fee token ID. A fee token is the token with which you pay transaction fees. | [optional] |
CanDeposit | Pointer to bool | Whether deposits are enabled for this token. | [optional] |
CanWithdraw | Pointer to bool | Whether withdrawals are enabled for this token. | [optional] |
DustThreshold | Pointer to string | The minimum withdrawal amount for Custodial Wallets. If your withdrawal amount is smaller than this threshold, the withdrawal request will receive an error. Note: Cobo Loop transfers do not have this limitation. | [optional] |
CustodialMinimumDepositThreshold | Pointer to string | The minimum deposit amount for Custodial Wallets. If the amount you deposit to a Custodial Wallet is smaller than this threshold, the deposit will not show up on Cobo Portal or trigger any webhook events. Note: Cobo Looptransfers do not have this limitation. | [optional] |
AssetModelType | Pointer to TokenAssetModelType | [optional] | |
Amount | Pointer to float32 | Transaction value (Note that this is an absolute value. If you trade 1.5 BTC, then the value is 1.5) | [optional] |
Spender | Pointer to string | Spender address | [optional] |
func NewTransactionTokeApproval(tokenId string, chainId string, ) *TransactionTokeApproval
NewTransactionTokeApproval instantiates a new TransactionTokeApproval 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 NewTransactionTokeApprovalWithDefaults() *TransactionTokeApproval
NewTransactionTokeApprovalWithDefaults instantiates a new TransactionTokeApproval 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 *TransactionTokeApproval) GetTokenId() string
GetTokenId returns the TokenId field if non-nil, zero value otherwise.
func (o *TransactionTokeApproval) 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 *TransactionTokeApproval) SetTokenId(v string)
SetTokenId sets TokenId field to given value.
func (o *TransactionTokeApproval) GetChainId() string
GetChainId returns the ChainId field if non-nil, zero value otherwise.
func (o *TransactionTokeApproval) 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 *TransactionTokeApproval) SetChainId(v string)
SetChainId sets ChainId field to given value.
func (o *TransactionTokeApproval) GetAssetId() string
GetAssetId returns the AssetId field if non-nil, zero value otherwise.
func (o *TransactionTokeApproval) GetAssetIdOk() (*string, bool)
GetAssetIdOk returns a tuple with the AssetId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransactionTokeApproval) SetAssetId(v string)
SetAssetId sets AssetId field to given value.
func (o *TransactionTokeApproval) HasAssetId() bool
HasAssetId returns a boolean if a field has been set.
func (o *TransactionTokeApproval) GetSymbol() string
GetSymbol returns the Symbol field if non-nil, zero value otherwise.
func (o *TransactionTokeApproval) GetSymbolOk() (*string, bool)
GetSymbolOk returns a tuple with the Symbol field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransactionTokeApproval) SetSymbol(v string)
SetSymbol sets Symbol field to given value.
func (o *TransactionTokeApproval) HasSymbol() bool
HasSymbol returns a boolean if a field has been set.
func (o *TransactionTokeApproval) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *TransactionTokeApproval) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransactionTokeApproval) SetName(v string)
SetName sets Name field to given value.
func (o *TransactionTokeApproval) HasName() bool
HasName returns a boolean if a field has been set.
func (o *TransactionTokeApproval) GetDecimal() int32
GetDecimal returns the Decimal field if non-nil, zero value otherwise.
func (o *TransactionTokeApproval) GetDecimalOk() (*int32, bool)
GetDecimalOk returns a tuple with the Decimal field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransactionTokeApproval) SetDecimal(v int32)
SetDecimal sets Decimal field to given value.
func (o *TransactionTokeApproval) HasDecimal() bool
HasDecimal returns a boolean if a field has been set.
func (o *TransactionTokeApproval) GetIconUrl() string
GetIconUrl returns the IconUrl field if non-nil, zero value otherwise.
func (o *TransactionTokeApproval) GetIconUrlOk() (*string, bool)
GetIconUrlOk returns a tuple with the IconUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransactionTokeApproval) SetIconUrl(v string)
SetIconUrl sets IconUrl field to given value.
func (o *TransactionTokeApproval) HasIconUrl() bool
HasIconUrl returns a boolean if a field has been set.
func (o *TransactionTokeApproval) GetTokenAddress() string
GetTokenAddress returns the TokenAddress field if non-nil, zero value otherwise.
func (o *TransactionTokeApproval) GetTokenAddressOk() (*string, bool)
GetTokenAddressOk returns a tuple with the TokenAddress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransactionTokeApproval) SetTokenAddress(v string)
SetTokenAddress sets TokenAddress field to given value.
func (o *TransactionTokeApproval) HasTokenAddress() bool
HasTokenAddress returns a boolean if a field has been set.
func (o *TransactionTokeApproval) GetFeeTokenId() string
GetFeeTokenId returns the FeeTokenId field if non-nil, zero value otherwise.
func (o *TransactionTokeApproval) GetFeeTokenIdOk() (*string, bool)
GetFeeTokenIdOk returns a tuple with the FeeTokenId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransactionTokeApproval) SetFeeTokenId(v string)
SetFeeTokenId sets FeeTokenId field to given value.
func (o *TransactionTokeApproval) HasFeeTokenId() bool
HasFeeTokenId returns a boolean if a field has been set.
func (o *TransactionTokeApproval) GetCanDeposit() bool
GetCanDeposit returns the CanDeposit field if non-nil, zero value otherwise.
func (o *TransactionTokeApproval) GetCanDepositOk() (*bool, bool)
GetCanDepositOk returns a tuple with the CanDeposit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransactionTokeApproval) SetCanDeposit(v bool)
SetCanDeposit sets CanDeposit field to given value.
func (o *TransactionTokeApproval) HasCanDeposit() bool
HasCanDeposit returns a boolean if a field has been set.
func (o *TransactionTokeApproval) GetCanWithdraw() bool
GetCanWithdraw returns the CanWithdraw field if non-nil, zero value otherwise.
func (o *TransactionTokeApproval) GetCanWithdrawOk() (*bool, bool)
GetCanWithdrawOk returns a tuple with the CanWithdraw field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransactionTokeApproval) SetCanWithdraw(v bool)
SetCanWithdraw sets CanWithdraw field to given value.
func (o *TransactionTokeApproval) HasCanWithdraw() bool
HasCanWithdraw returns a boolean if a field has been set.
func (o *TransactionTokeApproval) GetDustThreshold() string
GetDustThreshold returns the DustThreshold field if non-nil, zero value otherwise.
func (o *TransactionTokeApproval) GetDustThresholdOk() (*string, bool)
GetDustThresholdOk returns a tuple with the DustThreshold field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransactionTokeApproval) SetDustThreshold(v string)
SetDustThreshold sets DustThreshold field to given value.
func (o *TransactionTokeApproval) HasDustThreshold() bool
HasDustThreshold returns a boolean if a field has been set.
func (o *TransactionTokeApproval) GetCustodialMinimumDepositThreshold() string
GetCustodialMinimumDepositThreshold returns the CustodialMinimumDepositThreshold field if non-nil, zero value otherwise.
func (o *TransactionTokeApproval) GetCustodialMinimumDepositThresholdOk() (*string, bool)
GetCustodialMinimumDepositThresholdOk returns a tuple with the CustodialMinimumDepositThreshold field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransactionTokeApproval) SetCustodialMinimumDepositThreshold(v string)
SetCustodialMinimumDepositThreshold sets CustodialMinimumDepositThreshold field to given value.
func (o *TransactionTokeApproval) HasCustodialMinimumDepositThreshold() bool
HasCustodialMinimumDepositThreshold returns a boolean if a field has been set.
func (o *TransactionTokeApproval) GetAssetModelType() TokenAssetModelType
GetAssetModelType returns the AssetModelType field if non-nil, zero value otherwise.
func (o *TransactionTokeApproval) GetAssetModelTypeOk() (*TokenAssetModelType, bool)
GetAssetModelTypeOk returns a tuple with the AssetModelType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransactionTokeApproval) SetAssetModelType(v TokenAssetModelType)
SetAssetModelType sets AssetModelType field to given value.
func (o *TransactionTokeApproval) HasAssetModelType() bool
HasAssetModelType returns a boolean if a field has been set.
func (o *TransactionTokeApproval) GetAmount() float32
GetAmount returns the Amount field if non-nil, zero value otherwise.
func (o *TransactionTokeApproval) GetAmountOk() (*float32, bool)
GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransactionTokeApproval) SetAmount(v float32)
SetAmount sets Amount field to given value.
func (o *TransactionTokeApproval) HasAmount() bool
HasAmount returns a boolean if a field has been set.
func (o *TransactionTokeApproval) GetSpender() string
GetSpender returns the Spender field if non-nil, zero value otherwise.
func (o *TransactionTokeApproval) GetSpenderOk() (*string, bool)
GetSpenderOk returns a tuple with the Spender field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransactionTokeApproval) SetSpender(v string)
SetSpender sets Spender field to given value.
func (o *TransactionTokeApproval) HasSpender() bool
HasSpender returns a boolean if a field has been set.