src/Transactions/Deserializer.php
public function handleVersionTwo(Transaction $transaction): Transaction
    {
        $transaction->id = Hash::sha256($transaction->serialize())->getHex();

        return $transaction;
    }
public function handleVersionTwo(Transaction $transaction): Transaction
    {
        $transaction->id = Hash::sha256($transaction->serialize())->getHex();

        return $transaction;
    }
public function handleVersionTwo ( Transaction $ transaction ) : Transaction { $ transaction -> id = Hash :: sha256 ( $ transaction -> serialize ( ) ) -> getHex ( ) ; return $ transaction ; }
Handle the deserialization of transaction data with a version of 2.0.

@param \ArkEcosystem\Crypto\Transaction $transaction

@return \ArkEcosystem\Crypto\Transactions\Transaction
Handle the deserialization of transaction data with a version of 2 . 0 .