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

Return Txn Hashes with Actor Methods #741

Open
imsk17 opened this issue Jul 17, 2023 · 1 comment
Open

Return Txn Hashes with Actor Methods #741

imsk17 opened this issue Jul 17, 2023 · 1 comment

Comments

@imsk17
Copy link

imsk17 commented Jul 17, 2023

Is your feature request related to a problem? Please describe.
I need to track this txn hash whether it was a sucess or not.

Describe the solution you'd like
return a Tuple, or use a result type or something, basically return both txn hash and result

Describe alternatives you've considered
None

Additional context
Nope

@krpeacock
Copy link
Contributor

The transaction hash is an implementation detail within a canister's code. I don't believe there is any generic transaction hash I could provide you with, simply from what's available to the client.

Perhaps the closest would be the request_id, which is useful for a limited time according to the ICP interface specification. Could you provide some more context about what canisters you are trying to interact with, and what you'd need this hash for?

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

2 participants