@@ -30,14 +30,37 @@ final class _LibEpicCashInterfaceImpl extends LibEpicCashInterface {
3030 }
3131
3232 @override
33- Future <({String commitId, String slateId})> createTransaction ({
33+ Future <({String slateId, String commitId, String slateJson})> txReceive ({
34+ required String wallet,
35+ required String slateJson,
36+ }) {
37+ return LibEpiccash .txReceive (
38+ wallet: wallet,
39+ slateJson: slateJson,
40+ );
41+ }
42+
43+ @override
44+ Future <({String slateId, String commitId})> txFinalize ({
45+ required String wallet,
46+ required String slateJson,
47+ }) {
48+ return LibEpiccash .txFinalize (
49+ wallet: wallet,
50+ slateJson: slateJson,
51+ );
52+ }
53+
54+ @override
55+ Future <({String commitId, String slateId, String slateJson})> createTransaction ({
3456 required String wallet,
3557 required int amount,
3658 required String address,
3759 required int secretKeyIndex,
3860 required String epicboxConfig,
3961 required int minimumConfirmations,
4062 required String note,
63+ bool returnSlate = false ,
4164 }) {
4265 return LibEpiccash .createTransaction (
4366 wallet: wallet,
@@ -47,6 +70,7 @@ final class _LibEpicCashInterfaceImpl extends LibEpicCashInterface {
4770 epicboxConfig: epicboxConfig,
4871 minimumConfirmations: minimumConfirmations,
4972 note: note,
73+ returnSlate: returnSlate,
5074 );
5175 }
5276
0 commit comments