> ## 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

> 指定された nullifier を使用したシールドトランザクションイベントを取得します。

## 使用トランザクションを検索

ウォレットによって導出された nullifier を使用して、その入力を使用したトランザクションを検索します。nullifier によってトランザクションが選択されます。`result.data` の各エントリには、選択された 1 件の Solana トランザクションのすべてのイベントと、その `slot` および `signature` が格納されます。

1～1,000 個の nullifier を指定します。ページの上限、継続トークン、増分読み取りについては、[ページネーションと鮮度](https://www.helius.dev/docs/ja/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)

1 ページあたりの Solana トランザクションの最大数です。1～1,000 の範囲で指定します。

**minContextSlot** `number`

この読み取りに必要な、永続化済みのインデクサーの最小スロットです。インデクサーが遅れている場合は、JSON-RPC エラー -32016 を返します。

**nullifiers** `array` *required*

使用済み入力との照合に使用する、Base58 でエンコードされた 32 バイトの nullifier です。

**paginationToken** `string`

前のレスポンスで返された継続トークンです。同じ nullifier およびスロットフィルターとともに、変更せずに再度渡します。


## OpenAPI

````yaml ja/openapi/privacy/getShieldedTransactionsByNullifiers.yaml POST /v1/spr/getShieldedTransactionsByNullifiers
openapi: 3.0.3
info:
  title: Solana プライバシーリング API
  version: 0.51.2
  description: 暗号化された状態、履歴、証明、公開レジストリレコード用のプライバシーインデクサー JSON-RPC API です。
servers:
  - url: https://devnet.helius-rpc.com
    description: Devnet Solana プライバシーリング API
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: リクエストを識別するための ID です。
                  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: 1 ページあたりの 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: 使用済み入力と照合する、Base58 でエンコードされた 32 バイトのヌリファイアです。
                    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 レスポンスです。result を読み取る前に error を確認してください。
          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: リクエスト ID です。
                  jsonrpc:
                    type: string
                    description: JSON-RPC プロトコルのバージョンです。
                    enum:
                      - '2.0'
                  result:
                    type: object
                    description: gTFA 形式のページネーションを使用した、範囲が限定された履歴読み取りの 1 ページです。
                    required:
                      - context
                      - data
                      - paginationToken
                    properties:
                      context:
                        $ref: '#/components/schemas/Context'
                      data:
                        type: array
                        items:
                          type: object
                          description: 1 件の 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: 一時停止されていない最新の状態ツリー ID です。利用できない場合は省略されます。
                        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: リクエスト ID です。ボディが単一の JSON-RPC 呼び出しでない場合は null です。
                  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: リクエスト ID です。ボディが単一の JSON-RPC 呼び出しでない場合は null です。
                  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: リクエスト ID です。ボディが単一の JSON-RPC 呼び出しでない場合は null です。
                  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: Base58 でエンコードされた 32 バイトのハッシュです。
    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: このトランザクション内の少なくとも 1 つの出力に証明がない場合は true です。
        ringConfig:
          type: string
          description: リングの設定アカウント（その `ring_auth` PDA）です。このトランザクションを承認したリングがない場合は省略されます。
        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: Base58 でエンコードされた 64 バイトの Solana トランザクション署名です。
    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 の使用を推奨します。ツリーアカウントは treeId から導出されます。
          deprecated: true
        treeId:
          type: integer
          format: uint16
          description: 出力のコミットメントがその配下でハッシュ化される生のツリー ID です。
          minimum: 0
    SerializablePubkey:
      type: string
      description: Base58 でエンコードされた Solana 公開鍵です。
  securitySchemes:
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api-key
      description: Helius API キーです。

````

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