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

# Logs

> Stream transaction log lines for landed transactions matching the filter.




## AsyncAPI

````yaml asyncapi-spec/solana-rpc-websocket.yaml logs
id: logs
title: Logs
description: |
  Stream transaction log lines for landed transactions matching the filter.
servers:
  - id: production
    protocol: wss
    host: rpc.raze.bot
    bindings: []
    variables: []
address: /
parameters: []
bindings: []
operations:
  - &ref_1
    id: logsSubscribe
    title: Logs subscribe
    description: >-
      Subscribe to transaction log streams (`all`, `allWithVotes`, or
      `{mentions: [pubkey]}`).
    type: receive
    messages:
      - &ref_4
        id: logsSubscribeRequest
        payload:
          - name: logsSubscribe request
            description: Subscribe to a stream of transaction log events.
            type: object
            properties:
              - name: jsonrpc
                type: string
                description: '2.0'
                required: true
              - name: id
                type: integer
                required: true
              - name: method
                type: string
                description: logsSubscribe
                required: true
              - name: params
                type: array
                description: >
                  `[filter, config?]`


                  - `filter` — `"all"`, `"allWithVotes"`, or `{ mentions:
                  [pubkey] }`

                  - `config` (optional) — `{ commitment }`
                required: true
        headers: []
        jsonPayloadSchema:
          type: object
          required:
            - jsonrpc
            - id
            - method
            - params
          properties:
            jsonrpc:
              type: string
              const: '2.0'
              x-parser-schema-id: <anonymous-schema-35>
            id:
              type: integer
              example: 1
              x-parser-schema-id: <anonymous-schema-36>
            method:
              type: string
              const: logsSubscribe
              x-parser-schema-id: <anonymous-schema-37>
            params:
              type: array
              description: >
                `[filter, config?]`


                - `filter` — `"all"`, `"allWithVotes"`, or `{ mentions: [pubkey]
                }`

                - `config` (optional) — `{ commitment }`
              example:
                - all
              x-parser-schema-id: <anonymous-schema-38>
          x-parser-schema-id: <anonymous-schema-34>
        title: logsSubscribe request
        description: Subscribe to a stream of transaction log events.
        example: No examples found
        bindings: []
        extensions:
          - id: x-parser-unique-object-id
            value: logsSubscribeRequest
    bindings: []
    extensions: &ref_0
      - id: x-parser-unique-object-id
        value: logs
  - &ref_2
    id: logsUnsubscribe
    title: Logs unsubscribe
    description: Cancel a logs subscription.
    type: receive
    messages:
      - &ref_5
        id: accountUnsubscribeRequest
        payload:
          - name: Unsubscribe request
            description: Cancel a previously created subscription.
            type: object
            properties:
              - name: jsonrpc
                type: string
                description: '2.0'
                required: true
              - name: id
                type: integer
                required: true
              - name: method
                type: string
                description: >-
                  One of `accountUnsubscribe`, `logsUnsubscribe`,
                  `programUnsubscribe`, `signatureUnsubscribe`,
                  `slotUnsubscribe`, `slotsUpdatesUnsubscribe`,
                  `rootUnsubscribe`.
                required: true
              - name: params
                type: array
                description: '`[subscription_id]`'
                required: true
        headers: []
        jsonPayloadSchema:
          type: object
          required:
            - jsonrpc
            - id
            - method
            - params
          properties:
            jsonrpc:
              type: string
              const: '2.0'
              x-parser-schema-id: <anonymous-schema-11>
            id:
              type: integer
              example: 2
              x-parser-schema-id: <anonymous-schema-12>
            method:
              type: string
              description: >-
                One of `accountUnsubscribe`, `logsUnsubscribe`,
                `programUnsubscribe`, `signatureUnsubscribe`, `slotUnsubscribe`,
                `slotsUpdatesUnsubscribe`, `rootUnsubscribe`.
              example: accountUnsubscribe
              x-parser-schema-id: <anonymous-schema-13>
            params:
              type: array
              description: '`[subscription_id]`'
              example:
                - 128617
              x-parser-schema-id: <anonymous-schema-14>
          x-parser-schema-id: <anonymous-schema-10>
        title: Unsubscribe request
        description: Cancel a previously created subscription.
        example: No examples found
        bindings: []
        extensions:
          - id: x-parser-unique-object-id
            value: accountUnsubscribeRequest
    bindings: []
    extensions: *ref_0
  - &ref_3
    id: receiveLogsNotifications
    title: logsNotification
    description: Per-transaction log payload.
    type: send
    messages:
      - &ref_6
        id: logsNotification
        payload:
          - name: logsNotification
            description: >-
              Pushed once per landed transaction matching the subscription
              filter.
            type: object
            properties:
              - name: jsonrpc
                type: string
                description: '2.0'
                required: false
              - name: method
                type: string
                description: logsNotification
                required: false
              - name: params
                type: object
                required: false
                properties:
                  - name: subscription
                    type: integer
                    required: false
                  - name: result
                    type: object
                    required: false
                    properties:
                      - name: context
                        type: object
                        required: false
                        properties:
                          - name: slot
                            type: integer
                            required: false
                      - name: value
                        type: object
                        required: false
                        properties:
                          - name: signature
                            type: string
                            required: false
                          - name: err
                            type: object
                            required: false
                          - name: logs
                            type: array
                            required: false
                            properties:
                              - name: item
                                type: string
                                required: false
        headers: []
        jsonPayloadSchema:
          type: object
          properties:
            jsonrpc:
              type: string
              const: '2.0'
              x-parser-schema-id: <anonymous-schema-40>
            method:
              type: string
              const: logsNotification
              x-parser-schema-id: <anonymous-schema-41>
            params:
              type: object
              properties:
                subscription:
                  type: integer
                  example: 128618
                  x-parser-schema-id: <anonymous-schema-43>
                result:
                  type: object
                  properties:
                    context:
                      type: object
                      properties:
                        slot:
                          type: integer
                          example: 418263062
                          x-parser-schema-id: <anonymous-schema-46>
                      x-parser-schema-id: <anonymous-schema-45>
                    value:
                      type: object
                      properties:
                        signature:
                          type: string
                          example: 5VERv8NMvz...
                          x-parser-schema-id: <anonymous-schema-48>
                        err:
                          oneOf:
                            - type: object
                              x-parser-schema-id: <anonymous-schema-50>
                            - type: 'null'
                              x-parser-schema-id: <anonymous-schema-51>
                          example: null
                          x-parser-schema-id: <anonymous-schema-49>
                        logs:
                          type: array
                          items:
                            type: string
                            x-parser-schema-id: <anonymous-schema-53>
                          example:
                            - >-
                              Program 11111111111111111111111111111111 invoke
                              [1]
                            - Program 11111111111111111111111111111111 success
                          x-parser-schema-id: <anonymous-schema-52>
                      x-parser-schema-id: <anonymous-schema-47>
                  x-parser-schema-id: <anonymous-schema-44>
              x-parser-schema-id: <anonymous-schema-42>
          x-parser-schema-id: <anonymous-schema-39>
        title: Logs notification
        description: Pushed once per landed transaction matching the subscription filter.
        example: No examples found
        bindings: []
        extensions:
          - id: x-parser-unique-object-id
            value: logsNotification
    bindings: []
    extensions: *ref_0
sendOperations:
  - *ref_1
  - *ref_2
receiveOperations:
  - *ref_3
sendMessages:
  - *ref_4
  - *ref_5
receiveMessages:
  - *ref_6
extensions:
  - id: x-parser-unique-object-id
    value: logs
securitySchemes: []

````