Skip to content

Commit 3736ef5

Browse files
committed
Added serialize method for transaction
1 parent 9bb51b2 commit 3736ef5

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/utility/TransactionMapping.ts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,4 @@ export class TransactionMapping {
3737
public static createFromPayload(dataBytes: string): Transaction {
3838
return CreateTransactionFromPayload(dataBytes);
3939
}
40-
41-
/**
42-
* Serialize a transaction.
43-
* @returns {string} Serialized transaction in binary.
44-
*/
45-
public static serialize(): string {
46-
throw new Error();
47-
}
48-
49-
/**
50-
* Create transaction class from Json.
51-
* @returns {object} Serialized transaction in json object.
52-
*/
53-
public static serializeJson(): object {
54-
throw new Error();
55-
}
5640
}

0 commit comments

Comments
 (0)