---
title: "Get a receipt from a request ID"
method: GET
path: "/v1/chains/{chainID}/receipts/{requestID}"
tags: ["chains"]
---

# Get a receipt from a request ID

`GET /v1/chains/{chainID}/receipts/{requestID}`

## Path parameters

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

## Response `200`

ReceiptResponse

- 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` — Chain or request id not found

## Changes

- **2023-05-26** `742f81ef87e6` — 1 breaking, 12 info
  - the `request` response's property type/format changed from `string`/`string` to `object`/`` for status `200`
  - added the required property `request/allowance` to the response with the `200` status
  - added the required property `request/callTarget` to the response with the `200` status
  - added the required property `request/fungibleTokens` to the response with the `200` status
  - …9 more
- **2023-05-25** `e4bc0f91c082` — 1 breaking, 12 info
  - the `request` response's property type/format changed from `string`/`string` to `object`/`` for status `200`
  - added the required property `request/allowance` to the response with the `200` status
  - added the required property `request/callTarget` to the response with the `200` status
  - added the required property `request/fungibleTokens` to the response with the `200` status
  - …9 more
- **2023-05-25** `c2a1a897ea13` — 13 breaking, 1 warning
  - the `request` response's property type/format changed from `object`/`` to `string`/`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
- …earlier changes not shown

[Full history](https://skmtc.dev/iotaledger/apis/wasp-api/changes/v1/chains/:chainID/receipts/:requestID/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/994a6c93b890/schema)
