You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Native to Transaction Receipt Jobject converter (#165)
* Native to Transaction Receipt Jobject converter
* Included Obsolete tag to jobject native receipt
* Fix for Json converter
Fixed bad conversion from native response Jobject to transaction receipt
* Constructor fix
Added null check for NativeReceipt JObject before conversion to TransactionReceipt
* Still parse nativeReceipt
---------
Co-authored-by: Quinn Purdy <[email protected]>
Copy file name to clipboardExpand all lines: Packages/Sequence-Unity/Sequence/SequenceSDK/EmbeddedWallet/DataTypes/ReturnTypes/SuccessfulTransactionReturn.cs
+83-1Lines changed: 83 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,8 @@
1
1
usingNewtonsoft.Json;
2
2
usingNewtonsoft.Json.Linq;
3
+
usingNewtonsoft.Json;
4
+
usingSystem.Collections.Generic;
5
+
usingSystem;
3
6
4
7
namespaceSequence.EmbeddedWallet
5
8
{
@@ -11,7 +14,10 @@ public class SuccessfulTransactionReturn : TransactionReturn
11
14
publicstringmetaTxHash{get;privateset;}
12
15
publicIntentPayloadrequest{get;privateset;}
13
16
publicMetaTxnReceiptreceipt{get;privateset;}
17
+
18
+
[Obsolete("nativeReceipt is deprecated. Please use nativeTransactionReceipt instead.")]
0 commit comments