---
title: "POST /EXPERIMENTAL_receipt"
method: POST
path: "/EXPERIMENTAL_receipt"
---

# POST /EXPERIMENTAL_receipt

`POST /EXPERIMENTAL_receipt`

Fetches a receipt by its ID (as is, without a status or execution outcome)

## Request body

- JsonRpcRequestForEXPERIMENTALReceipt
  - `id` string — JSON-RPC request id. Auto-populated; can be any string.
  - `jsonrpc` '2.0' — JSON-RPC protocol version. Always `2.0`.
  - `method` 'EXPERIMENTAL_receipt', required
  - `params` RpcReceiptRequest, required
    - `receipt_id` string, required

## Response `200`

- union
  - object
    - `result` RpcReceiptResponse, required
      - `predecessor_id` string, required — NEAR Account Identifier. This is a unique, syntactically valid, human-readable account identifier on the NEAR network. [See the crate-level docs for information about validation.](index.html#account-id-rules) Also see [Error kind precedence](AccountId#error-kind-precedence). ## Examples ``` use near_account_id::AccountId; let alice: AccountId = "alice.near".parse().unwrap(); assert!("ƒelicia.near".parse::<AccountId>().is_err()); // (ƒ is not f) ```
      - `priority` integer — Deprecated, retained for backward compatibility.
      - `receipt` union, required
        - object
          - `Action` object, required
            - `actions` ActionView[], required
              - …
            - `gas_price` string, required
            - `input_data_ids` CryptoHash[], required
            - `is_promise_yield` boolean
            - `output_data_receivers` DataReceiverView[], required
              - …
            - `refund_to` union
              - …
            - `signer_id` string, required — NEAR Account Identifier. This is a unique, syntactically valid, human-readable account identifier on the NEAR network. [See the crate-level docs for information about validation.](index.html#account-id-rules) Also see [Error kind precedence](AccountId#error-kind-precedence). ## Examples ``` use near_account_id::AccountId; let alice: AccountId = "alice.near".parse().unwrap(); assert!("ƒelicia.near".parse::<AccountId>().is_err()); // (ƒ is not f) ```
            - `signer_public_key` string, required
        - object
          - `Data` object, required
            - `data` string, nullable
            - `data_id` string, required
            - `is_promise_resume` boolean
        - object
          - `GlobalContractDistribution` object, required
            - `already_delivered_shards` ShardId[], required
            - `code` string, required
            - `id` union, required
              - …
            - `nonce` integer, nullable
            - `target_shard` integer, required — The shard identifier. It may be an arbitrary number - it does not need to be a number in the range 0..NUM_SHARDS. The shard ids do not need to be sequential or contiguous. The shard id is wrapped in a new type to prevent the old pattern of using indices in range 0..NUM_SHARDS and casting to ShardId. Once the transition if fully complete it potentially may be simplified to a regular type alias.
      - `receipt_id` string, required
      - `receiver_id` string, required — NEAR Account Identifier. This is a unique, syntactically valid, human-readable account identifier on the NEAR network. [See the crate-level docs for information about validation.](index.html#account-id-rules) Also see [Error kind precedence](AccountId#error-kind-precedence). ## Examples ``` use near_account_id::AccountId; let alice: AccountId = "alice.near".parse().unwrap(); assert!("ƒelicia.near".parse::<AccountId>().is_err()); // (ƒ is not f) ```
    - `id` string, required
    - `jsonrpc` string, required
  - object
    - `error` union, required
      - object
        - `cause` union, required
          - object
            - `info` object, required
              - …
            - `name` 'METHOD_NOT_FOUND', required
          - object
            - `info` object, required
              - …
            - `name` 'PARSE_ERROR', required
        - `name` 'REQUEST_VALIDATION_ERROR', required
      - object
        - `cause` union, required
          - object
            - `info` object, required
              - …
            - `name` 'INTERNAL_ERROR', required
          - object
            - `info` object, required
              - …
            - `name` 'UNKNOWN_RECEIPT', required
        - `name` 'HANDLER_ERROR', required
      - object
        - `cause` InternalError, required
          - `info` object, required
            - `error_message` string, required
          - `name` 'INTERNAL_ERROR', required
        - `name` 'INTERNAL_ERROR', required
    - `id` string, required
    - `jsonrpc` string, required

---

[API](https://skmtc.net/near/apis/near-protocol-json-rpc-api.md) · [All operations](https://skmtc.net/near/apis/near-protocol-json-rpc-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/near/near-protocol-json-rpc-api/versions/cb6bdde6167d/schema)
