Skip to content
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

How to analyze the amount in the transaction confirmation? #25

Open
hanny15 opened this issue May 12, 2022 · 0 comments
Open

How to analyze the amount in the transaction confirmation? #25

hanny15 opened this issue May 12, 2022 · 0 comments

Comments

@hanny15
Copy link

hanny15 commented May 12, 2022

String signature = "3U6JAfMJPE8i1PpYTKfHHsLp9xu7iS3YBmK2Mg8kkygpH57xyrHWq39mp39xr6FgM447R7dqwDgXVMq79Dm7HnwT";
final ConfirmedTransaction confirmedTransaction = client.getApi().getConfirmedTransaction(signature);
String data = confirmedTransaction.getTransaction().getMessage().getInstructions().get(0).getData();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant