com.wavesplatform.transaction.TransactionParser.scala Maven / Gradle / Ivy
The newest version!
package com.wavesplatform.transaction
import com.wavesplatform.transaction.validation.TxValidator
import scala.util.Try
trait TransactionParser {
type TransactionT <: Transaction
def typeId: TxType
def parseBytes(bytes: Array[Byte]): Try[TransactionT]
implicit def validator: TxValidator[TransactionT]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy