> ## Documentation Index
> Fetch the complete documentation index at: https://www.helius.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# getShieldedTransactionsByNullifiers

> Получите события защищённых транзакций, в которых расходуются входы, соответствующие указанным нуллификаторам.

## Поиск расходующих транзакций

Используйте нуллификаторы, созданные вашим кошельком, чтобы найти транзакции, которые израсходовали его входы. Нуллификаторы определяют транзакции. Каждая запись в `result.data` содержит все события одной выбранной транзакции Solana, включая её `slot` и `signature`.

Укажите от 1 до 1 000 нуллификаторов. Сведения об ограничениях страниц, токенах продолжения и инкрементальном чтении см. в разделе [Пагинация и актуальность данных](https://www.helius.dev/docs/ru/api-reference/privacy.md#пагинация).

## Параметры запроса

**filters** `object`

Границы слотов. Чтобы продолжить синхронизированное чтение без верхней границы, задайте для `slot.gt` значение `context.slot` с последней страницы.

**filters.slot** `object`

Границы слотов для чтения. Указанные границы объединяются оператором AND.

**filters.slot.gt** `number`

Включать только транзакции после этого слота.

**filters.slot.gte** `number`

Включать только транзакции в этом слоте или после него.

**filters.slot.lt** `number`

Включать только транзакции до этого слота.

**filters.slot.lte** `number`

Включать только транзакции в этом слоте или до него.

**limit** `number` (default: 1000)

Максимальное количество транзакций Solana на странице: от 1 до 1 000.

**minContextSlot** `number`

Минимальный сохранённый слот индексатора, необходимый для этого чтения. Если индексатор отстаёт, возвращается ошибка JSON-RPC -32016.

**nullifiers** `array` *required*

Закодированные в Base58 32-байтовые нуллификаторы для сопоставления с израсходованными входами.

**paginationToken** `string`

Токен продолжения из предыдущего ответа. Передайте его обратно без изменений с теми же нуллификаторами и фильтрами слотов.


## OpenAPI

````yaml ru/openapi/privacy/getShieldedTransactionsByNullifiers.yaml POST /v1/spr/getShieldedTransactionsByNullifiers
openapi: 3.0.3
info:
  title: API Solana Privacy Rings
  version: 0.51.2
  description: >-
    JSON-RPC API индексатора конфиденциальности для зашифрованного состояния,
    истории, доказательств и общедоступных записей реестра.
servers:
  - url: https://devnet.helius-rpc.com
    description: API Solana Privacy Rings в Devnet
security: []
paths:
  /v1/spr/getShieldedTransactionsByNullifiers:
    post:
      summary: getShieldedTransactionsByNullifiers
      description: >-
        Получите события защищенных транзакций, расходующих указанные
        нуллификаторы.
      operationId: getShieldedTransactionsByNullifiers
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
                - jsonrpc
                - id
                - method
                - params
              properties:
                id:
                  type: string
                  description: Идентификатор запроса.
                  default: '1'
                jsonrpc:
                  type: string
                  description: Версия протокола JSON-RPC.
                  enum:
                    - '2.0'
                  default: '2.0'
                method:
                  type: string
                  description: >-
                    Вызываемый метод. Должен соответствовать последнему сегменту
                    пути URL.
                  enum:
                    - getShieldedTransactionsByNullifiers
                  default: getShieldedTransactionsByNullifiers
                params:
                  type: object
                  required:
                    - nullifiers
                  properties:
                    filters:
                      allOf:
                        - $ref: '#/components/schemas/HistoryFilters'
                      description: >-
                        Границы слотов. Чтобы продолжить актуализированное
                        чтение без верхнего ограничения, задайте в `slot.gt`
                        значение `context.slot` с последней страницы.
                    limit:
                      type: integer
                      format: uint64
                      maximum: 1000
                      minimum: 1
                      nullable: true
                      default: 1000
                      description: >-
                        Максимальное количество транзакций Solana на странице:
                        от 1 до 1 000.
                    minContextSlot:
                      type: integer
                      format: uint64
                      minimum: 0
                      nullable: true
                      description: >-
                        Минимальный сохраненный слот индексатора, необходимый
                        для этого чтения. Если индексатор отстает, возвращается
                        ошибка JSON-RPC -32016.
                    nullifiers:
                      type: array
                      items:
                        $ref: '#/components/schemas/Hash'
                      minItems: 1
                      maxItems: 1000
                      description: >-
                        32-байтовые нуллификаторы в кодировке base58 для
                        сопоставления с потраченными входами.
                    paginationToken:
                      type: string
                      description: >-
                        Токен продолжения из предыдущего ответа. Передайте его
                        обратно без изменений с теми же нуллификаторами и
                        фильтрами слотов.
                      nullable: true
                  additionalProperties: false
                  example:
                    nullifiers:
                      - '11111111111111111111111111111112'
                    limit: 100
            example:
              jsonrpc: '2.0'
              id: '1'
              method: getShieldedTransactionsByNullifiers
              params:
                nullifiers:
                  - '11111111111111111111111111111112'
                limit: 100
        required: true
      responses:
        '200':
          description: Ответ JSON-RPC. Проверьте поле error, прежде чем читать result.
          content:
            application/json:
              schema:
                type: object
                required:
                  - jsonrpc
                  - id
                properties:
                  error:
                    type: object
                    required:
                      - code
                      - message
                    properties:
                      code:
                        type: integer
                      message:
                        type: string
                      data:
                        type: object
                        additionalProperties: true
                  id:
                    type: string
                    description: Идентификатор запроса.
                  jsonrpc:
                    type: string
                    description: Версия протокола JSON-RPC.
                    enum:
                      - '2.0'
                  result:
                    type: object
                    description: >-
                      Одна ограниченная страница чтения истории с пагинацией в
                      стиле gTFA.
                    required:
                      - context
                      - data
                      - paginationToken
                    properties:
                      context:
                        $ref: '#/components/schemas/Context'
                      data:
                        type: array
                        items:
                          type: object
                          description: >-
                            Возвращенные события одной транзакции Solana в
                            порядке их возникновения.
                          required:
                            - slot
                            - signature
                            - events
                          properties:
                            events:
                              type: array
                              items:
                                $ref: '#/components/schemas/ShieldedTransaction'
                            signature:
                              $ref: '#/components/schemas/SerializableSignature'
                            slot:
                              type: integer
                              format: uint64
                              minimum: 0
                          additionalProperties: false
                      outputTreeId:
                        type: integer
                        format: uint16
                        description: >-
                          Идентификатор новейшего неприостановленного дерева
                          состояний. Не указывается, если недоступен.
                        minimum: 0
                      paginationToken:
                        type: string
                        description: >-
                          Токен следующей страницы; null, если больше нет
                          соответствующих результатов. Актуализированное

                          чтение без границы `lt` или `lte` позднее
                          возобновляется с `filters.slot.gt`,

                          равным `context.slot` этой страницы; чтение с верхним
                          ограничением охватывает только слоты до

                          этой границы.
                        nullable: true
              example:
                jsonrpc: '2.0'
                id: '1'
                result:
                  context:
                    slot: 4242
                    blockTime: 1730000000
                  data: []
                  paginationToken: null
        '400':
          description: >-
            Отклонено до выполнения. Несоответствие метода и пути, повторяющиеся
            поля метода или пакетный запрос возвращают -32601. Нечитаемое или
            слишком большое тело возвращает -32600.
          content:
            application/json:
              schema:
                type: object
                required:
                  - jsonrpc
                  - id
                  - error
                properties:
                  jsonrpc:
                    type: string
                    enum:
                      - '2.0'
                  id:
                    type: string
                    nullable: true
                    description: >-
                      Идентификатор запроса или null, если тело не является
                      одиночным вызовом JSON-RPC.
                  error:
                    type: object
                    required:
                      - code
                      - message
                    properties:
                      code:
                        type: integer
                      message:
                        type: string
                      data:
                        type: object
                        additionalProperties: true
        '429':
          description: Превышено ограничение частоты запросов.
          content:
            application/json:
              schema:
                type: object
                required:
                  - jsonrpc
                  - id
                  - error
                properties:
                  jsonrpc:
                    type: string
                    enum:
                      - '2.0'
                  id:
                    type: string
                    nullable: true
                    description: >-
                      Идентификатор запроса или null, если тело не является
                      одиночным вызовом JSON-RPC.
                  error:
                    type: object
                    required:
                      - code
                      - message
                    properties:
                      code:
                        type: integer
                      message:
                        type: string
                      data:
                        type: object
                        additionalProperties: true
        '500':
          description: Внутренняя ошибка сервера.
          content:
            application/json:
              schema:
                type: object
                required:
                  - jsonrpc
                  - id
                  - error
                properties:
                  jsonrpc:
                    type: string
                    enum:
                      - '2.0'
                  id:
                    type: string
                    nullable: true
                    description: >-
                      Идентификатор запроса или null, если тело не является
                      одиночным вызовом JSON-RPC.
                  error:
                    type: object
                    required:
                      - code
                      - message
                    properties:
                      code:
                        type: integer
                      message:
                        type: string
                      data:
                        type: object
                        additionalProperties: true
      security:
        - ApiKeyQuery: []
components:
  schemas:
    HistoryFilters:
      type: object
      description: Необязательные границы слотов для запроса истории.
      properties:
        slot:
          $ref: '#/components/schemas/SlotFilter'
      additionalProperties: false
    Hash:
      type: string
      description: 32-байтовый хеш в кодировке base58.
    Context:
      type: object
      required:
        - blockTime
        - slot
      properties:
        blockTime:
          type: integer
          format: int64
        slot:
          type: integer
          format: uint64
          description: >-
            Наивысший слот, сохраненный индексатором, для проверки актуальности
            по слотам.
          minimum: 0
    ShieldedTransaction:
      type: object
      required:
        - slot
        - txSignature
        - txViewingPk
        - salt
        - outputSlots
        - messages
        - nullifiers
        - proofless
      properties:
        eventIndex:
          type: integer
          format: uint16
          minimum: 0
        messages:
          type: array
          items:
            $ref: '#/components/schemas/RingsMessage'
          description: >-
            Опубликованные слоты данных, не привязанные ни к одному
            обязательству выхода и повторно опубликованные без изменений.
        nullifiers:
          type: array
          items:
            $ref: '#/components/schemas/Hash'
        outputSlots:
          type: array
          items:
            $ref: '#/components/schemas/RingsOutputSlot'
        proofless:
          type: boolean
          description: >-
            Значение true, если хотя бы один выход в этой транзакции не содержит
            доказательства.
        ringConfig:
          type: string
          description: >-
            Аккаунт конфигурации кольца (его PDA `ring_auth`). Не указывается,
            если ни одно кольцо не авторизовало эту транзакцию.
        ringProgramId:
          type: string
          description: >-
            Программа кольца, определенная по проиндексированным регистрациям.
            Не указывается, если отсутствует `ringConfig` или регистрация кольца
            не была проиндексирована. Используйте `ringConfig`, чтобы отличить
            «кольцо отсутствует» от «кольцо с непроиндексированной программой».
        salt:
          type: string
          description: >-
            Соль AES уровня транзакции, общая для зашифрованного текста каждого
            выхода.
          nullable: true
        slot:
          type: integer
          format: uint64
          minimum: 0
        txSignature:
          $ref: '#/components/schemas/SerializableSignature'
        txViewingPk:
          type: string
          description: Строка байтов в кодировке base64.
          nullable: true
    SerializableSignature:
      type: string
      description: 64-байтовая подпись транзакции Solana в кодировке base58.
    SlotFilter:
      type: object
      description: >-
        Границы слотов для чтения. Указанные границы объединяются оператором
        AND.
      properties:
        gt:
          type: integer
          format: uint64
          minimum: 0
          nullable: true
          description: Включать только транзакции после этого слота.
        gte:
          type: integer
          format: uint64
          minimum: 0
          nullable: true
          description: Включать только транзакции в этом слоте или после него.
        lt:
          type: integer
          format: uint64
          minimum: 0
          nullable: true
          description: Включать только транзакции до этого слота.
        lte:
          type: integer
          format: uint64
          minimum: 0
          nullable: true
          description: Включать только транзакции в этом слоте или до него.
      additionalProperties: false
    RingsMessage:
      type: object
      required:
        - viewTag
        - payload
      properties:
        payload:
          $ref: '#/components/schemas/Base64String'
        viewTag:
          $ref: '#/components/schemas/Hash'
    RingsOutputSlot:
      type: object
      required:
        - viewTag
        - outputContext
        - payload
      properties:
        outputContext:
          $ref: '#/components/schemas/RingsOutputContext'
        payload:
          $ref: '#/components/schemas/Base64String'
        viewTag:
          $ref: '#/components/schemas/Hash'
    Base64String:
      type: string
      description: Строка байтов в кодировке base64.
    RingsOutputContext:
      type: object
      required:
        - hash
        - tree
        - treeId
        - leafIndex
      properties:
        hash:
          $ref: '#/components/schemas/Hash'
        leafIndex:
          type: integer
          format: uint64
          minimum: 0
        tree:
          allOf:
            - $ref: '#/components/schemas/SerializablePubkey'
          description: >-
            Аккаунт дерева состояний. Предпочтительно использовать treeId;
            аккаунт дерева является производным от него.
          deprecated: true
        treeId:
          type: integer
          format: uint16
          description: >-
            Необработанный идентификатор дерева, в котором хешируется
            обязательство выхода.
          minimum: 0
    SerializablePubkey:
      type: string
      description: Открытый ключ Solana в кодировке base58.
  securitySchemes:
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api-key
      description: Ваш ключ API Helius.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.