---
title: "Wait until the given request has been processed by the node"
method: GET
path: "/v1/chains/{chainID}/requests/{requestID}/wait"
tags: ["chains"]
---

# Wait until the given request has been processed by the node

`GET /v1/chains/{chainID}/requests/{requestID}/wait`

## Path parameters

- `chainID` string, string, required
- `requestID` string, string, required

## Query parameters

- `timeoutSeconds` integer
- `waitForL1Confirmation` boolean

## Response `200`

The request receipt

- ReceiptResponse
  - `blockIndex` integer, required
  - `errorMessage` string, string
  - `gasBudget` string, string, required — The gas budget (uint64 as string)
  - `gasBurnLog` BurnRecord[], required
    - `code` integer, required
    - `gasBurned` integer, required
  - `gasBurned` string, string, required — The burned gas (uint64 as string)
  - `gasFeeCharged` string, string, required — The charged gas fee (uint64 as string)
  - `rawError` UnresolvedVMError
    - `code` VMErrorCode
      - `ContractID` integer
      - `ID` integer
    - `hash` integer
    - `params` string[]
  - `request` string, string, required
  - `requestIndex` integer, required

## Other responses

- `404` — The chain or request id not found
- `408` — The waiting time has reached the defined limit

## Changes

- **2023-05-22** `fe9e5f85a30a` — 1 warning, 2 info
  - removed the optional property `error` from the response with the `200` status
  - added the optional property `errorMessage` to the response with the `200` status
  - added the optional property `rawError` to the response with the `200` status
- **2023-04-19** `bcfc1e976f0e` — 2 info
  - api tag `chains` added
  - api tag `requests` removed
- **2023-04-12** `a29eb0e7cdbf` — 1 info
  - added the new optional `query` request parameter `waitForL1Confirmation`
- **2023-03-21** `5ffe1a3d7623` — 1 info
  - endpoint added
- **2023-02-13** `1041f915f260` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/iotaledger/apis/wasp-api/changes/v1/chains/:chainID/requests/:requestID/wait/get.md)

---

[API](https://skmtc.dev/iotaledger/apis/wasp-api.md) · [All operations](https://skmtc.dev/iotaledger/apis/wasp-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/iotaledger/wasp-api/revisions/fe9e5f85a30a/schema)
