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

# Wallet rfqs

> Channel name: `{wallet}.rfqs`. Private channel (requires authentication) that streams RFQ (request-for-quote) updates for all subaccounts under a wallet, where {wallet} is your wallet address.



## AsyncAPI

````yaml subscriptions.asyncapi.json walletRfqs
id: walletRfqs
title: Wallet rfqs
description: >-
  Channel name: `{wallet}.rfqs`. Private channel (requires authentication) that
  streams RFQ (request-for-quote) updates for all subaccounts under a wallet,
  where {wallet} is your wallet address.
servers:
  - id: production
    protocol: wss
    host: api.derive.xyz
    bindings: []
    variables: []
  - id: testnet
    protocol: wss
    host: testnet.api.derive.xyz
    bindings: []
    variables: []
address: /v3/ws
parameters: []
bindings: []
operations:
  - &ref_10
    id: receive_walletRfqs
    title: Receive_wallet rfqs
    type: send
    messages:
      - &ref_13
        id: walletRfqsNotification
        payload:
          - name: walletRfqsNotification
            description: Pushed as a JSON array; each element has the fields below.
            type: object
            properties:
              - name: cancel_reason
                type: string
                enumValues:
                  - ''
                  - user_request
                  - insufficient_margin
                  - signed_max_fee_too_low
                  - mmp_trigger
                  - cancel_on_disconnect
                  - session_key_deregistered
                  - subaccount_withdrawn
                  - rfq_no_longer_open
                  - compliance
                required: true
              - name: creation_timestamp
                type: integer
                required: true
              - name: fill_rate
                type: &ref_0
                  - string
                  - 'null'
                description: >-
                  Lifetime taker fill rate as a decimal string; null until the
                  wallet has enough lifetime RFQs for the rate to be meaningful.
                required: true
              - name: filled_direction
                type: string
                required: false
              - name: filled_pct
                type: string
                description: >-
                  Non-negative decimal string of the human value (e.g. `"1.5"`),
                  up to 12 fractional digits; a string or JSON number is
                  accepted
                required: true
              - name: last_update_timestamp
                type: integer
                required: true
              - name: legs
                type: array
                required: true
                properties:
                  - name: amount
                    type: string
                    description: >-
                      Non-negative decimal string of the human value (e.g.
                      `"1.5"`), up to 12 fractional digits; a string or JSON
                      number is accepted
                    required: true
                  - name: direction
                    type: string
                    enumValues:
                      - buy
                      - sell
                    required: true
                  - name: instrument_name
                    type: string
                    required: true
              - name: partial_fill_step
                type: string
                description: >-
                  Non-negative decimal string of the human value (e.g. `"1.5"`),
                  up to 12 fractional digits; a string or JSON number is
                  accepted
                required: true
              - name: recent_fill_rate
                type: &ref_2
                  - string
                  - 'null'
                description: >-
                  Decayed-recent taker fill rate as a decimal string; null until
                  enough recent RFQ activity has accumulated for the rate to be
                  meaningful.
                required: true
              - name: rfq_id
                type: string
                description: UUID v4 string
                required: true
              - name: status
                type: string
                enumValues:
                  - open
                  - filled
                  - cancelled
                  - expired
                required: true
              - name: subaccount_id
                type: integer
                required: true
              - name: total_cost
                type: &ref_3
                  - string
                  - 'null'
                description: >-
                  Optional decimal string of the human value (e.g. `"1.5"`), up
                  to 12 fractional digits, or null; a string or JSON number is
                  accepted
                required: true
              - name: valid_until
                type: integer
                required: true
              - name: wallet
                type: string
                description: >-
                  20-byte Ethereum address as a 0x-prefixed lowercase hex
                  string.
                required: true
        headers: []
        jsonPayloadSchema:
          type: object
          required:
            - cancel_reason
            - creation_timestamp
            - fill_rate
            - filled_pct
            - last_update_timestamp
            - legs
            - partial_fill_step
            - recent_fill_rate
            - rfq_id
            - status
            - subaccount_id
            - total_cost
            - valid_until
            - wallet
          properties:
            cancel_reason:
              type: string
              enum:
                - ''
                - user_request
                - insufficient_margin
                - signed_max_fee_too_low
                - mmp_trigger
                - cancel_on_disconnect
                - session_key_deregistered
                - subaccount_withdrawn
                - rfq_no_longer_open
                - compliance
              x-parser-schema-id: RFQCancelReason
            creation_timestamp:
              type: integer
              format: int64
              x-parser-schema-id: <anonymous-schema-230>
            fill_rate:
              description: >-
                Lifetime taker fill rate as a decimal string; null until the
                wallet has enough lifetime RFQs for the rate to be meaningful.
              type: *ref_0
              format: decimal
              x-parser-schema-id: <anonymous-schema-231>
            filled_direction:
              anyOf:
                - &ref_1
                  type: string
                  enum:
                    - buy
                    - sell
                  x-parser-schema-id: Direction
                - type: 'null'
                  x-parser-schema-id: <anonymous-schema-233>
              x-parser-schema-id: <anonymous-schema-232>
            filled_pct:
              description: >-
                Non-negative decimal string of the human value (e.g. `"1.5"`),
                up to 12 fractional digits; a string or JSON number is accepted
              type: string
              format: decimal
              x-parser-schema-id: <anonymous-schema-234>
            last_update_timestamp:
              type: integer
              format: int64
              x-parser-schema-id: <anonymous-schema-235>
            legs:
              type: array
              items:
                type: object
                required:
                  - amount
                  - direction
                  - instrument_name
                properties:
                  amount:
                    description: >-
                      Non-negative decimal string of the human value (e.g.
                      `"1.5"`), up to 12 fractional digits; a string or JSON
                      number is accepted
                    type: string
                    format: decimal
                    x-parser-schema-id: <anonymous-schema-237>
                  direction: *ref_1
                  instrument_name:
                    type: string
                    x-parser-schema-id: <anonymous-schema-238>
                x-parser-schema-id: LegUnpricedParams
              x-parser-schema-id: <anonymous-schema-236>
            partial_fill_step:
              description: >-
                Non-negative decimal string of the human value (e.g. `"1.5"`),
                up to 12 fractional digits; a string or JSON number is accepted
              type: string
              format: decimal
              x-parser-schema-id: <anonymous-schema-239>
            recent_fill_rate:
              description: >-
                Decayed-recent taker fill rate as a decimal string; null until
                enough recent RFQ activity has accumulated for the rate to be
                meaningful.
              type: *ref_2
              format: decimal
              x-parser-schema-id: <anonymous-schema-240>
            rfq_id:
              description: UUID v4 string
              type: string
              format: uuid
              x-parser-schema-id: <anonymous-schema-241>
            status:
              type: string
              enum:
                - open
                - filled
                - cancelled
                - expired
              x-parser-schema-id: RFQStatus
            subaccount_id:
              type: integer
              format: int64
              x-parser-schema-id: <anonymous-schema-242>
            total_cost:
              description: >-
                Optional decimal string of the human value (e.g. `"1.5"`), up to
                12 fractional digits, or null; a string or JSON number is
                accepted
              type: *ref_3
              format: decimal
              x-parser-schema-id: <anonymous-schema-243>
            valid_until:
              type: integer
              format: int64
              x-parser-schema-id: <anonymous-schema-244>
            wallet:
              description: 20-byte Ethereum address as a 0x-prefixed lowercase hex string.
              type: string
              maxLength: 42
              minLength: 42
              pattern: ^0x[0-9a-fA-F]{40}$
              x-parser-schema-id: Address
          x-parser-schema-id: PublicRfq
        title: Wallet rfqs notification
        description: Pushed as a JSON array; each element has the fields below.
        example: |-
          {
            "cancel_reason": "<string>",
            "creation_timestamp": 123,
            "filled_direction": "<string>",
            "filled_pct": "<string>",
            "last_update_timestamp": 123,
            "legs": {
              "amount": "<string>",
              "direction": "<string>",
              "instrument_name": "<string>"
            },
            "partial_fill_step": "<string>",
            "rfq_id": "<string>",
            "status": "<string>",
            "subaccount_id": 123,
            "valid_until": 123,
            "wallet": "<string>"
          }
        bindings: []
        extensions:
          - id: x-parser-unique-object-id
            value: walletRfqsNotification
    bindings: []
    extensions: &ref_8
      - id: x-parser-unique-object-id
        value: walletRfqs
  - &ref_9
    id: send_subscribe_walletRfqs
    title: Send_subscribe_wallet rfqs
    type: receive
    messages:
      - &ref_11
        id: subscribeRequest
        payload:
          - name: subscribeRequest
            description: >-
              Send to subscribe: list this channel's address (with the {param}
              segments filled, e.g. orderbook.ETH-PERP.10.20) in
              params.channels.
            type: object
            properties:
              - name: headers
                type: &ref_4
                  - object
                  - 'null'
                description: Non-standard; used by `auth/login`.
                required: false
              - name: id
                type: anyOf
                required: true
              - name: method
                type: string
                description: subscribe
                required: true
              - name: params
                type: object
                description: >-
                  Params for `subscribe`. `channels` is the required list of
                  channel names to subscribe to.
                required: true
                properties:
                  - name: channels
                    type: array
                    required: true
                    properties:
                      - name: item
                        type: string
                        required: false
        headers: []
        jsonPayloadSchema:
          type: object
          required:
            - id
            - method
            - params
          properties:
            headers:
              description: Non-standard; used by `auth/login`.
              type: *ref_4
              additionalProperties: true
              x-parser-schema-id: <anonymous-schema-16>
            id: &ref_6
              anyOf:
                - type: string
                  x-parser-schema-id: <anonymous-schema-17>
                - type: number
                  x-parser-schema-id: <anonymous-schema-18>
                - type: 'null'
                  x-parser-schema-id: <anonymous-schema-19>
              x-parser-schema-id: JsonRpcId
            method:
              type: string
              const: subscribe
              x-parser-schema-id: <anonymous-schema-20>
            params:
              description: >-
                Params for `subscribe`. `channels` is the required list of
                channel names to subscribe to.
              type: object
              required:
                - channels
              properties:
                channels:
                  type: array
                  items:
                    type: string
                    x-parser-schema-id: <anonymous-schema-22>
                  x-parser-schema-id: <anonymous-schema-21>
              x-parser-schema-id: SubscribeParams
          x-parser-schema-id: <anonymous-schema-15>
        title: Subscribe request
        description: >-
          Send to subscribe: list this channel's address (with the {param}
          segments filled, e.g. orderbook.ETH-PERP.10.20) in params.channels.
        example: |-
          {
            "id": 1,
            "method": "subscribe",
            "params": {
              "channels": [
                "orderbook.ETH-PERP.10.20"
              ]
            }
          }
        bindings: []
        extensions:
          - id: x-parser-unique-object-id
            value: subscribeRequest
      - &ref_12
        id: unsubscribeRequest
        payload:
          - name: unsubscribeRequest
            description: >-
              Send to unsubscribe: list the channel addresses to drop in
              params.channels, or omit it to unsubscribe from everything.
            type: object
            properties:
              - name: headers
                type: &ref_5
                  - object
                  - 'null'
                description: Non-standard; used by `auth/login`.
                required: false
              - name: id
                type: anyOf
                required: true
              - name: method
                type: string
                description: unsubscribe
                required: true
              - name: params
                type: object
                description: >-
                  Params for `unsubscribe`. `channels` is optional.


                  When omitted (or null) the connection unsubscribes from all
                  channels.
                required: true
                properties:
                  - name: channels
                    type: &ref_7
                      - array
                      - 'null'
                    required: false
        headers: []
        jsonPayloadSchema:
          type: object
          required:
            - id
            - method
            - params
          properties:
            headers:
              description: Non-standard; used by `auth/login`.
              type: *ref_5
              additionalProperties: true
              x-parser-schema-id: <anonymous-schema-24>
            id: *ref_6
            method:
              type: string
              const: unsubscribe
              x-parser-schema-id: <anonymous-schema-25>
            params:
              description: >-
                Params for `unsubscribe`. `channels` is optional.


                When omitted (or null) the connection unsubscribes from all
                channels.
              type: object
              properties:
                channels:
                  default: null
                  type: *ref_7
                  items:
                    type: string
                    x-parser-schema-id: <anonymous-schema-27>
                  x-parser-schema-id: <anonymous-schema-26>
              x-parser-schema-id: UnsubscribeParams
          x-parser-schema-id: <anonymous-schema-23>
        title: Unsubscribe request
        description: >-
          Send to unsubscribe: list the channel addresses to drop in
          params.channels, or omit it to unsubscribe from everything.
        example: |-
          {
            "method": "<string>",
            "params": {}
          }
        bindings: []
        extensions:
          - id: x-parser-unique-object-id
            value: unsubscribeRequest
    bindings: []
    extensions: *ref_8
sendOperations:
  - *ref_9
receiveOperations:
  - *ref_10
sendMessages:
  - *ref_11
  - *ref_12
receiveMessages:
  - *ref_13
extensions:
  - id: x-parser-unique-object-id
    value: walletRfqs
securitySchemes: []

````

## Related topics

- [RFQ Trading](/trading/rfq.md)
- [Subscriptions](/subscriptions.md)
- [Poll RFQs visible to a maker](/api-reference/rfq/poll-rfqs-visible-to-a-maker.md)
