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

# Transactions

## Compare With EtherScan

<table><thead><tr><th width="498">EndPoint</th><th width="116" align="center">EtherScan</th><th align="center">SocialScan</th></tr></thead><tbody><tr><td>Check Contract Execution Status</td><td align="center">✅</td><td align="center">✅</td></tr><tr><td>Check Transaction Receipt Status</td><td align="center">✅</td><td align="center">✅</td></tr></tbody></table>

## Check Contract Execution Status

\[<https://docs.etherscan.io/api-endpoints/stats#check-contract-execution-status>]

Returns the status code of a contract execution.

{% tabs %}
{% tab title="Mantle" %}

<pre><code><strong>https://api.w3w.ai/mantle/v1/developer/api
</strong>   ?module=transaction
   &#x26;action=getstatus
   &#x26;txhash=0x935cad3ac666b462d726de36f3c4d5b5e63238ef264a1ae1d9ead3941bac1aa3
   &#x26;apikey=YourApiKeyToken
</code></pre>

> Try this endpoint in your [**browser**](https://api.w3w.ai/mantle/v1/developer/api?module=transaction\&action=getstatus\&txhash=0x935cad3ac666b462d726de36f3c4d5b5e63238ef264a1ae1d9ead3941bac1aa3\&apikey=YourApiKeyToken) :link:
> {% endtab %}

{% tab title="Monad Testnet" %}

```
https://api.socialscan.io/monad-testnet/v1/developer/api
   ?module=transaction
   &action=getstatus
   &txhash=0x4cd096de94913d2e57235dde8869afde791327f1f64d272fdd1be503e0b679e7
   &apikey=8f9d3e27-a516-4c08-b235-7d94f02ca91b
```

> Try this endpoint in your [**browser**](https://api.socialscan.io/monad-testnet/v1/developer/api?module=transaction\&action=getstatus\&txhash=0x4cd096de94913d2e57235dde8869afde791327f1f64d272fdd1be503e0b679e7\&apikey=8f9d3e27-a516-4c08-b235-7d94f02ca91b) :link:
> {% endtab %}
> {% endtabs %}

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

<table><thead><tr><th width="239">Parameter</th><th>Description</th></tr></thead><tbody><tr><td>txhash</td><td>the <code>string</code> representing the transaction hash to check the execution status</td></tr></tbody></table>
{% endtab %}

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

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

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

## Check Transaction Receipt Status

\[<https://docs.etherscan.io/api-endpoints/stats#check-transaction-receipt-status>]

Returns the status code of a transaction execution.

{% tabs %}
{% tab title="Mantle" %}

```
https://api.w3w.ai/mantle/v1/developer/api
   ?module=transaction
   &action=gettxreceiptstatus
   &txhash=0xa2cc6d9273022f455631cdb326b80031148421d4d9f63eb27dcffa7b1e9750dc
   &apikey=YourApiKeyToken
```

> Try this endpoint in your [**browser**](https://api.w3w.ai/mantle/v1/developer/api?module=transaction\&action=gettxreceiptstatus\&txhash=0xa2cc6d9273022f455631cdb326b80031148421d4d9f63eb27dcffa7b1e9750dc\&apikey=YourApiKeyToken) :link:
> {% endtab %}

{% tab title="Monad Testnet" %}

```
https://api.socialscan.io/monad-testnet/v1/developer/api
   ?module=transaction
   &action=gettxreceiptstatus
   &txhash=0x4cd096de94913d2e57235dde8869afde791327f1f64d272fdd1be503e0b679e7
   &apikey=8f9d3e27-a516-4c08-b235-7d94f02ca91b
```

> Try this endpoint in your [**browser**](https://api.socialscan.io/monad-testnet/v1/developer/api?module=transaction\&action=gettxreceiptstatus\&txhash=0x4cd096de94913d2e57235dde8869afde791327f1f64d272fdd1be503e0b679e7\&apikey=8f9d3e27-a516-4c08-b235-7d94f02ca91b) :link:
> {% endtab %}
> {% endtabs %}

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

<table><thead><tr><th width="239">Parameter</th><th>Description</th></tr></thead><tbody><tr><td>txhash</td><td>the <code>string</code> representing the transaction hash to check the receipt status</td></tr></tbody></table>
{% endtab %}

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

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

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://thehemera.gitbook.io/explorer-api/api-endpoints/transactions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
