> For the complete documentation index, see [llms.txt](https://ibvm.gitbook.io/ibvm-doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ibvm.gitbook.io/ibvm-doc/explorer-documentation/transactions.md).

# Transactions

## Check Contract Execution Status <a href="#check-contract-execution-status" id="check-contract-execution-status"></a>

Returns the status code of a contract execution.

```
https://api.ibvmscan.io/api
   ?module=transaction
   &action=getstatus
   &txhash=0xec2ff9b8eeeaed7166e15c7fdbf6746524f85e7db6799b11a46837db246b189d
   &apikey=YourApiKeyToken
```

> Try this endpoint in your [**browser**](https://api.ibvmscan.io/api?module=transaction\&action=getstatus\&txhash=0xec2ff9b8eeeaed7166e15c7fdbf6746524f85e7db6799b11a46837db246b189d\&apikey=YourApiKeyToken) 🔗

{% tabs %}
{% tab title="Request" %}
Query Parameters

| Parameter    | Description                                                                  |
| ------------ | ---------------------------------------------------------------------------- |
| txhash       | the `string` representing the transaction hash to check the execution status |
| {% endtab %} |                                                                              |

{% tab title="Response" %}
Sample response

```
{
   "status":"1",
   "message":"OK",
   "result":{
      "isError":"1",
      "errDescription":"execution reverted"
   }
}
```

{% hint style="info" %}
📖 **Tip:** The `isError` field returns `0` for **successful transactions** and `1` for **failed transactions**
{% endhint %}
{% endtab %}
{% endtabs %}

## Check Transaction Receipt Status <a href="#check-transaction-receipt-status" id="check-transaction-receipt-status"></a>

Returns the status code of a transaction execution.

```
https://api.ibvmscan.io/api
   ?module=transaction
   &action=gettxreceiptstatus
   &txhash=0xe9975702518c79caf81d5da65dea689dcac701fcdd063f848d4f03c85392fd00
   &apikey=YourApiKeyToken
```

> Try this endpoint in your [**browser**](https://api.ibvmscan.io/api?module=transaction\&action=gettxreceiptstatus\&txhash=0xe9975702518c79caf81d5da65dea689dcac701fcdd063f848d4f03c85392fd00\&apikey=YourApiKeyToken) 🔗

{% tabs %}
{% tab title="Request" %}
Query Parameters

| Parameter    | Description                                                                  |
| ------------ | ---------------------------------------------------------------------------- |
| txhash       | the `string` representing the transaction hash to check the execution status |
| {% endtab %} |                                                                              |

{% tab title="Response" %}
Sample response

```
{
   "status":"1",
   "message":"OK",
   "result":{
      "status":"1"
   }
}
```

{% hint style="info" %}
📖 **Tip:** The `isError` field returns `0` for **successful transactions** and `1` for **failed transactions**
{% endhint %}
{% endtab %}
{% endtabs %}
