Updated on 2026-08-14

This commit is contained in:
Tangem 2026-02-12 12:00:52 +04:00
parent 1472431435
commit fdc22278e6
9 changed files with 60 additions and 8 deletions

View file

@ -203,7 +203,7 @@ interface TangemTechApi {
* Used when yield operations generate intermediate transactions
* that should not trigger notifications.
*/
@POST("v1/transaction-events")
@POST("v2/transaction-events")
suspend fun transactionEvents(@Body name: TransactionEventBody): ApiResponse<Unit>
// region Earn

View file

@ -7,6 +7,7 @@ import com.squareup.moshi.JsonClass
data class TransactionEventBody(
@Json(name = "transactionId") val transactionId: String,
@Json(name = "operationType") val operationType: OperationType,
@Json(name = "userAddress") val userAddress: String? = null,
)
@JsonClass(generateAdapter = false)