Skip to main content
BETA
HomeIntegration BuilderAPI ReferenceGuidesChangelog
View Mirror World on Github
Join the Discord server

Language:

GetTransactionByDigest

Get Sui transaction detail info.

Parameters

digest - The transaction digest to be queried.

action|Action<CommonResponse<SUIResGetTransactionByDigest>> - The callback function of this method is used to receive the results.

Returns

response class - CommonResponse<SUIResGetTransactionByDigest>

Code Example


string digest = "target digest";
MWSDK.SUI.Wallet.GetTransactionByDigest(digest, (res) =>
{
CommonResponse<SUIResGetTransactionByDigest> resObj = res;
long http_status_code = resObj.http_status_code;
string message = resObj.message;
SUIResGetTransactionByDigest data = resObj.data;
PrintLog("result:" + JsonUtility.ToJson(res));
});

Edit this page on GitHub

Copyright © Mirror World, Inc. 2023
On this page

Home

Integration

Guides

API Reference

Changelog