Balance

interface Balance

Balance information for a specific coin type.

Properties

Link copied to clipboard
abstract val addressBalance: <Error class: unknown class>?

The balance of Balance<T> in this address's Address Balance.

Link copied to clipboard
abstract val balance: <Error class: unknown class>?

The total balance of coin_type in its smallest unit. This is the sum of all spendable amounts of coin_type (address_balance and coin_balance).

Link copied to clipboard
abstract val coinBalance: <Error class: unknown class>?

The balance of all Coin<T> objects owned by this address.

Link copied to clipboard
abstract val coinType: String?

The type of the coin (e.g., 0x2::sui::SUI).

Link copied to clipboard

Returns the field-presence view for this Balance instance.

Functions

Link copied to clipboard
Link copied to clipboard
fun Balance.copy(body: <Error class: unknown class>.() -> Unit = {}): Balance

Copies the original message, including unknown fields.