Updated on 2026-08-14
This commit is contained in:
parent
be70d69092
commit
90c6055403
1 changed files with 4 additions and 3 deletions
|
|
@ -1,13 +1,14 @@
|
|||
package com.tangem.datasource.api.express.models.response
|
||||
|
||||
import com.squareup.moshi.Json
|
||||
import com.tangem.datasource.api.express.models.request.LeastTokenInfo
|
||||
|
||||
data class SwapPair(
|
||||
@Json(name = "from")
|
||||
val from: String,
|
||||
val from: LeastTokenInfo,
|
||||
|
||||
@Json(name = "to")
|
||||
val to: String,
|
||||
val to: LeastTokenInfo,
|
||||
|
||||
@Json(name = "providers")
|
||||
val providers: List<SwapPairProvider>,
|
||||
|
|
@ -18,7 +19,7 @@ data class SwapPairProvider(
|
|||
@Json(name = "providerId")
|
||||
val providerId: Int,
|
||||
|
||||
@Json(name = "providerId")
|
||||
@Json(name = "rateType")
|
||||
val rateType: RateType,
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue