com.wavesplatform.api.http.requests.MassTransferRequest.scala Maven / Gradle / Ivy
The newest version!
package com.wavesplatform.api.http.requests
import com.wavesplatform.common.state.ByteStr
import com.wavesplatform.transaction.transfer.MassTransferTransaction.Transfer
import play.api.libs.json.{Json, OFormat}
case class MassTransferRequest(
version: Option[Byte],
assetId: Option[String],
sender: String,
transfers: List[Transfer],
fee: Long,
attachment: Option[ByteStr] = None,
timestamp: Option[Long] = None
)
object MassTransferRequest {
implicit val jsonFormat: OFormat[MassTransferRequest] = Json.format[MassTransferRequest]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy