GetSACBalanceResponse

@Serializable
data class GetSACBalanceResponse(val balanceEntry: GetSACBalanceResponse.BalanceEntry? = null, val latestLedger: Long)

Response for the getSACBalance operation.

Retrieves the balance of a Stellar Asset Contract (SAC) for a given account. Stellar Asset Contracts are smart contracts that wrap classic Stellar assets, allowing them to be used in Soroban smart contract interactions.

See also

Constructors

Link copied to clipboard
constructor(balanceEntry: GetSACBalanceResponse.BalanceEntry? = null, latestLedger: Long)

Types

Link copied to clipboard
@Serializable
data class BalanceEntry(val amount: String, val authorized: Boolean, val clawback: Boolean, val lastModifiedLedgerSeq: Long, val liveUntilLedgerSeq: Long? = null)

Balance entry information for a Stellar Asset Contract account.

Properties

Link copied to clipboard

The balance entry for the account, or null if no valid balance exists

Link copied to clipboard

The latest ledger known to Soroban RPC at the time it handled the request