š March 13, 2023 | š 3 min | š¤ Vasil Safron
Txreceipt_status: What is it and what are its possible values?
Overview
Some users have been inquiring about the txreceipt_status field and what its values signify.
In this article, we will provide a brief overview of this field and its possible values.
If the txreceipt_status field is set to 0 and the isError field is set to 1,
this indicates that the contract execution was not successful or there was an exception.
const(// ReceiptStatusFailed is the status code of a transaction if execution failed.ReceiptStatusFailed=uint64(0)// ReceiptStatusSuccessful is the status code of a transaction if execution succeeded.ReceiptStatusSuccessful=uint64(1))
copy
This indicates that the only allowed values for txreceipt_status are 0 and 1, denoting
More info?
Much more info about our API method you could found on
our docs!
Ready to get started?
Our api help your project gain easy access to a sea of crypto data.
If you want to try our Universal API, please enter your email or login from Google Gmail: