Skip to content

[DX-2834] docs: update transaction receipt response docs, remove unnecessary code in sample app #193

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion sample/Assets/Scripts/AuthenticatedScript.cs
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,6 @@ public async void GetZkTransactionReceiptStatus()

TransactionReceiptResponse response = await passport.ZkEvmGetTransactionReceipt(ZkGetTransactionReceiptHash.text);
string status = "Transaction receipt status: ";
ShowOutput($"Transaction receipt status: {(response.status == "0x1" ? "Success" : "Failed")}");
switch (response.status)
{
case "0x1":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,11 @@ public class TransactionReceiptResponse
/// Possible reponses:
/// <list type="bullet">
/// <item>
/// <description>Success: 0x0</description>
/// <description>Success: 0x1</description>
/// </item>
/// <item>
/// <description>Failure: 0x0</description>
/// </item>
/// <item>
/// <description>Null: Transaction is still processing</description>
/// </item>
/// </list>
/// </summary>
public string status;

Expand Down
Loading