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

JSON-RPC 0.8.0: add failure_reason to starknet_getTransactionStatus response #2264

Open
kkovaacs opened this issue Sep 25, 2024 · 0 comments
Assignees

Comments

@kkovaacs
Copy link
Contributor

kkovaacs commented Sep 25, 2024

failure_reason is a new optional property in the response. For reverted transactions it should contain the revert reason, for rejected transactions (fetched from the feeder gateway) it should contain contents of the tx_failure_reason.error_message property from the gateway response.

Reference: starkware-libs/starknet-specs#218

@kkovaacs kkovaacs added this to the JSON-RPC 0.8.0 milestone Sep 25, 2024
@sistemd sistemd self-assigned this Sep 26, 2024
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