> ## Documentation Index
> Fetch the complete documentation index at: https://docs.etherscan.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Check Contract Execution Status

> Retrieves the current status and execution result of a specific transaction.

export const chain = '1';

<ResponseExample>
  ```json Example response theme={null}
  {
    "status": "1",
    "message": "OK",
    "result": {
      "isError": "1",
      "errDescription": "Bad jump destination"
    }
  }
  ```
</ResponseExample>


## OpenAPI

````yaml openapi/api-reference/endpoint/getstatus.json GET /v2/api
openapi: 3.1.0
info:
  title: Check Contract Execution Status
  version: 2.0.0
  description: Retrieves the current status and execution result of a specific transaction.
  license:
    name: Etherscan API Terms
    url: https://etherscan.io/terms
servers:
  - url: https://api.etherscan.io
    description: Etherscan API.
security:
  - apiKey: []
paths:
  /v2/api:
    get:
      summary: Check Contract Execution Status
      description: >-
        Retrieves the current status and execution result of a specific
        transaction.
      operationId: getGetstatus
      parameters:
        - name: chainid
          in: query
          required: true
          description: >-
            Chain ID to query, eg 1 for Ethereum, 42161 for Arbitrum from our
            [supported chains](/supported-chains).
          schema:
            type: string
          example: '1'
        - name: module
          in: query
          required: true
          description: Set to transaction for this endpoint.
          schema:
            type: string
            default: transaction
          example: transaction
        - name: action
          in: query
          required: true
          description: Set to getstatus for this endpoint.
          schema:
            type: string
            default: getstatus
          example: getstatus
        - name: txhash
          in: query
          required: true
          description: Transaction hash to check the execution status.
          schema:
            type: string
          example: '0x15f8e5ea1079d9a0bb04a4c58ae5fe7654b5b2b4463375ff7ffb490aa0032f3a'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    description: >-
                      1 if the request returned data, 0 otherwise. A status of 0
                      can indicate an error or a valid request that returned no
                      records.
                  message:
                    type: string
                    description: >-
                      OK on success, otherwise an error description such as
                      NOTOK. See [common error
                      messages](/common-error-messages).
                  result:
                    type: object
                    properties:
                      isError:
                        type: string
                        description: >-
                          1 if the transaction failed during execution, 0
                          otherwise.
                      errDescription:
                        type: string
                        description: Description of the execution error, when isError is 1.
      security:
        - apiKey: []
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: query
      name: apikey
      description: >-
        Enter your Etherscan API key, or [set one up](/set-up-your-api-key) if
        you don't have one.

````