---
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` RequestJSON, required
    - `allowance` AssetsJSON, required
      - `baseTokens` string, string, required — The base tokens (uint64 as string)
      - `nativeTokens` NativeTokenJSON[], required
        - `amount` string, string, required
        - `id` string, string, required
      - `nfts` string[], required
    - `callTarget` CallTargetJSON, required
      - `contractHName` string, string, required — The contract name as HName (Hex)
      - `functionHName` string, string, required — The function name as HName (Hex)
    - `fungibleTokens` AssetsJSON, required
      - `baseTokens` string, string, required — The base tokens (uint64 as string)
      - `nativeTokens` NativeTokenJSON[], required
        - `amount` string, string, required
        - `id` string, string, required
      - `nfts` string[], required
    - `gasBudget` string, string, required — The gas budget (uint64 as string)
    - `isEVM` boolean, required
    - `isOffLedger` boolean, required
    - `nft` NFTJSON, required
      - `id` string, string, required
      - `issuer` string, string, required
      - `metadata` string, string, required
      - `owner` string, string, required
    - `params` JSONDict, required
      - `Items` Item[]
        - `key` string, string, required — key (hex-encoded)
        - `value` string, string, required — value (hex-encoded)
    - `requestId` string, string, required
    - `senderAccount` string, string, required
    - `targetAddress` string, string, required
  - `requestIndex` integer, required
  - `storageDepositCharged` string, string, required — Storage deposit charged (uint64 as string)

## Other responses

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

---

[API](https://skmtc.net/iotaledger/apis/wasp-api.md) · [All operations](https://skmtc.net/iotaledger/apis/wasp-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/iotaledger/wasp-api/versions/994a6c93b890/schema)
