Updated on 2026-08-14

This commit is contained in:
Tangem 2026-06-17 11:58:06 +04:00
parent 2ff236ef2f
commit 2a5a05fe83
5 changed files with 20 additions and 8 deletions

View file

@ -79,8 +79,11 @@ data class ExchangeItemResponse(
val createdAt: String,
/** Transaction last-update timestamp in ISO-8601 format */
// todo txHistory uncomment
/*
@Json(name = "updatedAt")
val updatedAt: String,
*/
/** Pay-in expiration timestamp in ISO-8601 format */
@Json(name = "payTill")

View file

@ -44,8 +44,11 @@ data class OnrampItemResponse(
val createdAt: String,
/** Transaction last-update timestamp in ISO-8601 format */
// todo txHistory uncomment
/*
@Json(name = "updatedAt")
val updatedAt: String,
*/
// endregion
// region fromAsset (fiat) info

View file

@ -30,7 +30,7 @@ fun ExchangeItemResponse.toEntity(ownerAddress: String): ExpressExchangeEntity {
refundNetwork = refundNetwork,
refundContractAddress = refundContractAddress,
createdAt = createdAt,
updatedAt = updatedAt,
updatedAt = ""/*updatedAt*/, // todo txHistory uncomment
payTill = payTill,
averageDuration = averageDuration,
from = ExpressExchangeEntity.AssetEmbedded(
@ -62,7 +62,7 @@ fun OnrampItemResponse.toEntity(ownerAddress: String): ExpressOnrampEntity {
externalTxUrl = externalTxUrl,
payoutHash = payoutHash,
createdAt = createdAt,
updatedAt = updatedAt,
updatedAt = ""/*updatedAt*/, // todo txHistory uncomment,
fromCurrencyCode = fromCurrencyCode,
fromAmount = fromAmount,
fromPrecision = fromPrecision,