API reference
API reference
Select your platform
No SDKs available
No versions available

AssetFileDownloadUpdate

Updated: Oct 30, 2025

AssetFileDownloadUpdate

interface AssetFileDownloadUpdate
An AssetFileDownloadUpdate represents the download status of an update for an asset file. It contains the asset file ID, the download progress of the update, and its completion status. It can be retrieved using horizon.platform.assetfile.AssetFile.downloadUpdate. horizon.platform.assetfile.models.AssetFileDownloadUpdate.completed is true means downloaded but probably not installed yet. Call horizon.platform.assetfile.AssetFile.statusById until horizon.platform.assetfile.models.AssetDetails.downloadStatus changes from ‘available’ to ‘installed’.

Properties

NameSummary
assetFileId
abstract val assetFileId: String
The API has been deprecated. Please use AssetFileDownloadUpdate.asset_id instead.
assetId
abstract val assetId: String
ID of the asset file. It can be retrieved using horizon.platform.assetfile.models.AssetDetails.assetId.
bytesTotal
abstract val bytesTotal: Long
This field is of type uint and represents the total number of bytes in the asset file.
bytesTransferred
abstract val bytesTransferred: Long
An integer represents the number of bytes that have been downloaded. -1 If the download hasn’t started yet.
completed
abstract val completed: Boolean
This field is of type boolean and indicates whether the download has been completed or not.
json
open val json: String