Updated on 2026-08-14
This commit is contained in:
parent
1472431435
commit
fdc22278e6
9 changed files with 60 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue