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

# getShieldedTransactionsBySignature

> Ambil peristiwa terlindungi yang telah diindeks untuk tanda tangan transaksi Solana.

## Peristiwa dalam Transaksi

Respons mengembalikan `result.transactions`, yang diurutkan berdasarkan `eventIndex`. Setiap entri berisi indeks peristiwa dan transaksi terlindungi dengan output terenkripsi, pesan, serta nullifier. Satu transaksi Solana dapat berisi beberapa peristiwa terlindungi.

Array `transactions` yang kosong berarti pengindeks tidak memiliki peristiwa terlindungi yang cocok. Periksa `context.slot` sebelum menganggap transaksi yang baru dikirim tidak ada. Metode ini tidak menggunakan paginasi.

## Parameter Permintaan

**txSignature** `string` *required*

Tanda tangan transaksi Solana 64 byte yang dikodekan dengan Base58.


## OpenAPI

````yaml id/openapi/privacy/getShieldedTransactionsBySignature.yaml POST /v1/spr/getShieldedTransactionsBySignature
openapi: 3.0.3
info:
  title: API Cincin Privasi Solana
  version: 0.51.2
  description: >-
    API pengindeks privasi JSON-RPC untuk status terenkripsi, riwayat, bukti,
    dan catatan registri publik.
servers:
  - url: https://devnet.helius-rpc.com
    description: API Cincin Privasi Solana Devnet
security: []
paths:
  /v1/spr/getShieldedTransactionsBySignature:
    post:
      summary: getShieldedTransactionsBySignature
      description: >-
        Ambil peristiwa terlindung yang telah diindeks untuk tanda tangan
        transaksi Solana.
      operationId: getShieldedTransactionsBySignature
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
                - jsonrpc
                - id
                - method
                - params
              properties:
                id:
                  type: string
                  description: ID untuk mengidentifikasi permintaan.
                  default: '1'
                jsonrpc:
                  type: string
                  description: Versi protokol JSON-RPC.
                  enum:
                    - '2.0'
                  default: '2.0'
                method:
                  type: string
                  description: >-
                    Metode yang akan dipanggil. Harus cocok dengan segmen
                    terakhir jalur URL.
                  enum:
                    - getShieldedTransactionsBySignature
                  default: getShieldedTransactionsBySignature
                params:
                  type: object
                  required:
                    - txSignature
                  properties:
                    txSignature:
                      allOf:
                        - $ref: '#/components/schemas/SerializableSignature'
                      description: >-
                        Tanda tangan transaksi Solana 64 bita yang dienkode
                        dengan base58.
                  additionalProperties: false
                  example:
                    txSignature: >-
                      555555555555555555555555555555555555555555555555555555555555555555555555555555555555555
            example:
              jsonrpc: '2.0'
              id: '1'
              method: getShieldedTransactionsBySignature
              params:
                txSignature: >-
                  555555555555555555555555555555555555555555555555555555555555555555555555555555555555555
        required: true
      responses:
        '200':
          description: Respons JSON-RPC. Periksa error sebelum membaca 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: ID permintaan.
                  jsonrpc:
                    type: string
                    description: Versi protokol JSON-RPC.
                    enum:
                      - '2.0'
                  result:
                    type: object
                    required:
                      - context
                      - transactions
                    properties:
                      context:
                        $ref: '#/components/schemas/Context'
                      outputTreeId:
                        type: integer
                        format: uint16
                        description: >-
                          ID pohon status terbaru yang tidak dijeda. Dihilangkan
                          jika tidak tersedia.
                        minimum: 0
                      transactions:
                        type: array
                        items:
                          $ref: '#/components/schemas/IndexedShieldedTransaction'
              example:
                jsonrpc: '2.0'
                id: '1'
                result:
                  context:
                    slot: 4242
                    blockTime: 1730000000
                  transactions: []
        '400':
          description: >-
            Ditolak sebelum eksekusi. Ketidakcocokan metode/jalur, kolom metode
            duplikat, atau permintaan batch menghasilkan -32601. Isi yang tidak
            dapat dibaca atau terlalu besar menghasilkan -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 permintaan, atau null jika isi bukan satu panggilan
                      JSON-RPC.
                  error:
                    type: object
                    required:
                      - code
                      - message
                    properties:
                      code:
                        type: integer
                      message:
                        type: string
                      data:
                        type: object
                        additionalProperties: true
        '429':
          description: Batas laju terlampaui.
          content:
            application/json:
              schema:
                type: object
                required:
                  - jsonrpc
                  - id
                  - error
                properties:
                  jsonrpc:
                    type: string
                    enum:
                      - '2.0'
                  id:
                    type: string
                    nullable: true
                    description: >-
                      ID permintaan, atau null jika isi bukan satu panggilan
                      JSON-RPC.
                  error:
                    type: object
                    required:
                      - code
                      - message
                    properties:
                      code:
                        type: integer
                      message:
                        type: string
                      data:
                        type: object
                        additionalProperties: true
        '500':
          description: Kesalahan server internal.
          content:
            application/json:
              schema:
                type: object
                required:
                  - jsonrpc
                  - id
                  - error
                properties:
                  jsonrpc:
                    type: string
                    enum:
                      - '2.0'
                  id:
                    type: string
                    nullable: true
                    description: >-
                      ID permintaan, atau null jika isi bukan satu panggilan
                      JSON-RPC.
                  error:
                    type: object
                    required:
                      - code
                      - message
                    properties:
                      code:
                        type: integer
                      message:
                        type: string
                      data:
                        type: object
                        additionalProperties: true
      security:
        - ApiKeyQuery: []
components:
  schemas:
    SerializableSignature:
      type: string
      description: Tanda tangan transaksi Solana 64 bita yang dienkode dengan base58.
    Context:
      type: object
      required:
        - blockTime
        - slot
      properties:
        blockTime:
          type: integer
          format: int64
        slot:
          type: integer
          format: uint64
          description: >-
            Slot tertinggi yang telah disimpan secara persisten oleh pengindeks,
            untuk pemeriksaan kebaruan berbasis slot.
          minimum: 0
    IndexedShieldedTransaction:
      type: object
      required:
        - eventIndex
        - transaction
      properties:
        eventIndex:
          type: integer
          format: uint16
          minimum: 0
        transaction:
          $ref: '#/components/schemas/ShieldedTransaction'
    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: >-
            Slot data yang dipublikasikan dan tidak terikat pada komitmen
            keluaran, dipublikasikan ulang tanpa perubahan.
        nullifiers:
          type: array
          items:
            $ref: '#/components/schemas/Hash'
        outputSlots:
          type: array
          items:
            $ref: '#/components/schemas/RingsOutputSlot'
        proofless:
          type: boolean
          description: >-
            Bernilai true jika setidaknya satu keluaran dalam transaksi ini
            tidak memiliki bukti.
        ringConfig:
          type: string
          description: >-
            Akun konfigurasi cincin (`ring_auth` PDA miliknya). Dihilangkan jika
            tidak ada cincin yang mengotorisasi transaksi ini.
        ringProgramId:
          type: string
          description: >-
            Program cincin, yang ditentukan melalui pendaftaran yang telah
            diindeks. Dihilangkan jika `ringConfig` dihilangkan atau pendaftaran
            cincin belum diindeks. Gunakan `ringConfig` untuk membedakan "tanpa
            cincin" dari "cincin dengan program yang belum diindeks".
        salt:
          type: string
          description: >-
            Salt AES tingkat transaksi yang digunakan bersama oleh setiap
            ciphertext keluaran.
          nullable: true
        slot:
          type: integer
          format: uint64
          minimum: 0
        txSignature:
          $ref: '#/components/schemas/SerializableSignature'
        txViewingPk:
          type: string
          description: String bita yang dienkode dengan base64.
          nullable: true
    RingsMessage:
      type: object
      required:
        - viewTag
        - payload
      properties:
        payload:
          $ref: '#/components/schemas/Base64String'
        viewTag:
          $ref: '#/components/schemas/Hash'
    Hash:
      type: string
      description: Hash 32 bita yang dienkode dengan base58.
    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: String bita yang dienkode dengan 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: Akun pohon status. Utamakan treeId; akun pohon diturunkan darinya.
          deprecated: true
        treeId:
          type: integer
          format: uint16
          description: ID pohon mentah yang menjadi dasar hashing komitmen keluaran.
          minimum: 0
    SerializablePubkey:
      type: string
      description: Kunci publik Solana yang dienkode dengan base58.
  securitySchemes:
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api-key
      description: Kunci API Helius Anda.

````

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