Name | Type | Description | Notes |
---|---|---|---|
Total | string | The current amount of tokens in an address, which is retrieved directly from the network. To learn more, see Balances and transaction amounts for MPC Wallets for more details. | |
Available | string | The amount of tokens ready to be spent. To learn more, see Balances and transaction amounts for MPC Wallets for more details. | |
Pending | Pointer to string | The total amount being sent in a transaction, which is calculated as the withdrawal amount plus the transaction fee. To learn more, see Balances and transaction amounts for MPC Wallets for more details. | [optional] [default to "0"] |
Locked | Pointer to string | For UTXO chains, this is the combined value of the selected UTXOs for the transaction. For other chains, it is equal to the Pending amount. To learn more, see Balances and transaction amounts for MPC Wallets for more details. | [optional] [default to "0"] |
func NewTokenBalanceBalance(total string, available string, ) *TokenBalanceBalance
NewTokenBalanceBalance instantiates a new TokenBalanceBalance 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 NewTokenBalanceBalanceWithDefaults() *TokenBalanceBalance
NewTokenBalanceBalanceWithDefaults instantiates a new TokenBalanceBalance 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 *TokenBalanceBalance) GetTotal() string
GetTotal returns the Total field if non-nil, zero value otherwise.
func (o *TokenBalanceBalance) GetTotalOk() (*string, bool)
GetTotalOk returns a tuple with the Total field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TokenBalanceBalance) SetTotal(v string)
SetTotal sets Total field to given value.
func (o *TokenBalanceBalance) GetAvailable() string
GetAvailable returns the Available field if non-nil, zero value otherwise.
func (o *TokenBalanceBalance) GetAvailableOk() (*string, bool)
GetAvailableOk returns a tuple with the Available field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TokenBalanceBalance) SetAvailable(v string)
SetAvailable sets Available field to given value.
func (o *TokenBalanceBalance) GetPending() string
GetPending returns the Pending field if non-nil, zero value otherwise.
func (o *TokenBalanceBalance) GetPendingOk() (*string, bool)
GetPendingOk returns a tuple with the Pending field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TokenBalanceBalance) SetPending(v string)
SetPending sets Pending field to given value.
func (o *TokenBalanceBalance) HasPending() bool
HasPending returns a boolean if a field has been set.
func (o *TokenBalanceBalance) GetLocked() string
GetLocked returns the Locked field if non-nil, zero value otherwise.
func (o *TokenBalanceBalance) GetLockedOk() (*string, bool)
GetLockedOk returns a tuple with the Locked field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TokenBalanceBalance) SetLocked(v string)
SetLocked sets Locked field to given value.
func (o *TokenBalanceBalance) HasLocked() bool
HasLocked returns a boolean if a field has been set.