---
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` UnresolvedVMErrorJSON
    - `code` string, string
    - `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-25** `c2a1a897ea13` — 13 breaking, 1 warning
  - the `request` response's property type changed from `object` to `string`, and format from no format to `string` for status `200`
  - removed the required property `request/allowance` from the response with the `200` status
  - removed the required property `request/callTarget` from the response with the `200` status
  - removed the required property `request/fungibleTokens` from the response with the `200` status
  - …10 more
- **2023-05-22** `e874a52a4f52` — 2 breaking, 2 warning
  - the `rawError/code` response's property type changed from `object` to `string`, and format from no format to `string` for status `200`
  - the `rawError/hash` response's property type changed from `integer` to `string`, and format from `int32` to `string` for status `200`
  - removed the optional property `rawError/code/ContractID` from the response with the `200` status
  - removed the optional property `rawError/code/ID` from the response with the `200` status
- **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
- …earlier changes not shown

[Full 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/c2a1a897ea13/schema)
