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

Language:

GetTransactionsBySignature

Get transactions by signature.

Parameters

signature|string - The transaction hash to be queried.

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

Returns

response class - CommonResponse<SolResGetTransactionBySig>

Code Example


string signature = "target signature";
MWSDK.Solana.Wallet.GetTransactionsBySignature(signature, (res) => {
CommonResponse<SolResGetTransactionBySig> resObj = res;
long code = resObj.code;
string message = resObj.message;
SolResGetTransactionBySig transaction = resObj.data;
//todo...
});

Edit this page on GitHub

Copyright © Mirror World, Inc. 2023
On this page

Home

Integration

Guides

API Reference

Changelog