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

# Shred unsubscribe



## AsyncAPI

````yaml solana-rpc/websocket/shredstream.json shredUnsubscribe
id: shredUnsubscribe
title: Shred unsubscribe
description: ''
servers:
  - id: production
    protocol: wss
    host: rpc-mainnet.solanatracker.io
    bindings: []
    variables: []
address: /
parameters: []
bindings: []
operations:
  - &ref_3
    id: unsubscribeFromShredstream
    title: Unsubscribe from shredstream
    description: Unsubscribe from shredstream
    type: receive
    messages:
      - &ref_5
        id: shredUnsubscribe
        payload:
          - name: shredUnsubscribe
            description: Unsubscribe from shredstream
            type: object
            properties:
              - name: jsonrpc
                type: string
                description: '2.0'
                required: true
              - name: id
                type: integer
                required: true
              - name: method
                type: string
                description: shredUnsubscribe
                required: true
              - name: params
                type: array
                description: Subscription ID to unsubscribe
                required: true
        headers: []
        jsonPayloadSchema: &ref_0
          type: object
          required:
            - jsonrpc
            - id
            - method
            - params
          properties:
            jsonrpc:
              type: string
              const: '2.0'
              default: '2.0'
              x-parser-schema-id: <anonymous-schema-39>
            id:
              type: integer
              default: 1
              x-parser-schema-id: <anonymous-schema-40>
            method:
              type: string
              const: shredUnsubscribe
              default: shredUnsubscribe
              x-parser-schema-id: <anonymous-schema-41>
            params:
              type: array
              description: Subscription ID to unsubscribe
              items:
                type: integer
                description: Subscription ID from shredSubscribe response
                x-parser-schema-id: <anonymous-schema-43>
              x-parser-schema-id: <anonymous-schema-42>
          examples:
            - jsonrpc: '2.0'
              id: 10
              method: shredUnsubscribe
              params:
                - 123456
          x-parser-schema-id: <anonymous-schema-38>
        title: Shred unsubscribe
        description: Unsubscribe from shredstream
        example: |-
          {
            "jsonrpc": "2.0",
            "id": 10,
            "method": "shredUnsubscribe",
            "params": [
              123456
            ]
          }
        bindings: []
        extensions:
          - id: x-parser-unique-object-id
            value: shredUnsubscribe
          - id: x-parser-message-name
            value: shredUnsubscribe
      - &ref_6
        id: unsubscribeResponse
        payload:
          - name: unsubscribeResponse
            description: Unsubscribe confirmation
            type: object
            properties:
              - name: jsonrpc
                type: string
                description: '2.0'
                required: false
              - name: id
                type: integer
                required: false
              - name: result
                type: boolean
                description: true if unsubscribe was successful
                required: false
        headers: []
        jsonPayloadSchema: &ref_1
          type: object
          properties:
            jsonrpc:
              type: string
              const: '2.0'
              default: '2.0'
              x-parser-schema-id: <anonymous-schema-45>
            id:
              type: integer
              default: 1
              x-parser-schema-id: <anonymous-schema-46>
            result:
              type: boolean
              description: true if unsubscribe was successful
              default: true
              x-parser-schema-id: <anonymous-schema-47>
          examples:
            - jsonrpc: '2.0'
              id: 10
              result: true
          x-parser-schema-id: <anonymous-schema-44>
        title: Unsubscribe response
        description: Unsubscribe confirmation
        example: |-
          {
            "jsonrpc": "2.0",
            "id": 10,
            "result": true
          }
        bindings: []
        extensions:
          - id: x-parser-unique-object-id
            value: unsubscribeResponse
          - id: x-parser-message-name
            value: unsubscribeResponse
    bindings: []
    extensions: &ref_2
      - id: x-parser-unique-object-id
        value: shredUnsubscribe
  - &ref_4
    id: receiveUnsubscribeConfirmation
    title: Receive unsubscribe confirmation
    description: Receive unsubscribe confirmation
    type: receive
    messages:
      - &ref_7
        id: shredUnsubscribe
        payload:
          - name: shredUnsubscribe
            description: Unsubscribe from shredstream
            type: object
            properties:
              - name: jsonrpc
                type: string
                description: '2.0'
                required: true
              - name: id
                type: integer
                required: true
              - name: method
                type: string
                description: shredUnsubscribe
                required: true
              - name: params
                type: array
                description: Subscription ID to unsubscribe
                required: true
        headers: []
        jsonPayloadSchema: *ref_0
        title: Shred unsubscribe
        description: Unsubscribe from shredstream
        example: |-
          {
            "jsonrpc": "2.0",
            "id": 10,
            "method": "shredUnsubscribe",
            "params": [
              123456
            ]
          }
        bindings: []
        extensions:
          - id: x-parser-unique-object-id
            value: shredUnsubscribe
          - id: x-parser-message-name
            value: shredUnsubscribe
      - &ref_8
        id: unsubscribeResponse
        payload:
          - name: unsubscribeResponse
            description: Unsubscribe confirmation
            type: object
            properties:
              - name: jsonrpc
                type: string
                description: '2.0'
                required: false
              - name: id
                type: integer
                required: false
              - name: result
                type: boolean
                description: true if unsubscribe was successful
                required: false
        headers: []
        jsonPayloadSchema: *ref_1
        title: Unsubscribe response
        description: Unsubscribe confirmation
        example: |-
          {
            "jsonrpc": "2.0",
            "id": 10,
            "result": true
          }
        bindings: []
        extensions:
          - id: x-parser-unique-object-id
            value: unsubscribeResponse
          - id: x-parser-message-name
            value: unsubscribeResponse
    bindings: []
    extensions: *ref_2
sendOperations:
  - *ref_3
  - *ref_4
receiveOperations: []
sendMessages:
  - *ref_5
  - *ref_6
  - *ref_7
  - *ref_8
receiveMessages: []
extensions:
  - id: x-parser-unique-object-id
    value: shredUnsubscribe
securitySchemes:
  - id: apiKeyAuth
    name: api_key
    type: httpApiKey
    description: >-
      API key for authentication. Provide your Solana Tracker API key as a query
      parameter.
    in: query
    extensions: []

````