Updated on 2026-08-14

This commit is contained in:
Tangem 2025-08-04 12:11:22 +04:00
parent aa2439e3fa
commit e803ab0d7d
12 changed files with 103 additions and 24 deletions

View file

@ -15,8 +15,8 @@ data class AssetDiff(
data class Asset(
@Json(name = "chain_id") val chainId: Int? = null,
@Json(name = "logo_url") val logoUrl: String? = null,
@Json(name = "symbol") val symbol: String,
@Json(name = "decimals") val decimals: Int,
@Json(name = "symbol") val symbol: String? = null,
@Json(name = "decimals") val decimals: Int? = null,
)
@JsonClass(generateAdapter = true)

View file

@ -18,6 +18,8 @@ data class SpenderDetails(
@JsonClass(generateAdapter = true)
data class ExposureDetail(
@Json(name = "value") val value: String,
@Json(name = "raw_value") val rawValue: String,
@Json(name = "value") val value: String? = null,
@Json(name = "raw_value") val rawValue: String? = null,
@Json(name = "token_id") val tokenId: String? = null,
@Json(name = "logo_url") val logoUrl: String? = null,
)