# QESDK transaction status for Native APIs
Source: [https://docs.qualcomm.com/doc/80-PK177-134/topic/native_qesdk_class.html](https://docs.qualcomm.com/doc/80-PK177-134/topic/native_qesdk_class.html)
This class allows further flexibility for examining the Native API return values for specific error codes contained in [qesdk_error_t](https://docs.qualcomm.com/doc/80-PK177-134/topic/native_enums.html).
Example code sections illustrate how `is_ok()` and `get_error_code()` can be used to accomplish this.
Note: This functionality is added in Gen 3 and will only be supported from Gen 3 onwards.
class qesdk_transaction_status (qesdk_error_t error_code)Copy to clipboard
| Members | Description |
| --- | --- |
| qesdk\_transaction\_status | Class constructor |
| get\_error\_code() | Member function; returns qesdk\_error\_t enum |
| is\_ok() | Member function; indicates if NDK API transaction succeeded
This API returns bool as true or false