openapi: 3.0.2
info:
  title: Mining REST API
  description: Query mining status, earnings, and account data via the Binance Pool API.
  x-description-cn: 通过 Binance Pool API 查询挖矿状态、收益和账户数据。
  version: 1.0.0
  termsOfService: https://www.binance.com/en/terms
  contact:
    name: Binance API Support
    url: https://www.binance.com/en/support
x-product-type: rest-api
x-untagged-label: true
x-rate-limits-guide: products/mining/general-info#limits
x-rate-limits-guide-cn: products/mining/general-info#访问限制
x-security-guide: products/mining/general-info#request-security
x-security-guide-cn: products/mining/general-info#请求鉴权类型
x-api-key-guide: https://www.binance.com/en/support/faq/detail/360002502072
x-api-key-guide-cn: https://www.binance.com/cn/support/faq/detail/360002502072
externalDocs:
  description: Mining docs
  url: https://developers.binance.com/en/docs/products/mining/Introduction
servers:
  - url: https://api.binance.com
  - url: https://api-gcp.binance.com
  - url: https://api1.binance.com
  - url: https://api2.binance.com
  - url: https://api3.binance.com
  - url: https://api4.binance.com
paths:
  /sapi/v1/mining/statistics/user/list:
    get:
      summary: Account List (USER_DATA)
      x-summary-cn: 账号列表 (USER_DATA)
      description: Query Account List
      x-description-cn: 查询账号列表
      operationId: accountList
      externalDocs:
        url: https://developers.binance.com/en/docs/catalog/investment-and-services-mining/api/rest-api/~#account-list
      x-connectors-examples:
        ts: >-
          https://raw.githubusercontent.com/binance/binance-connector-js/master/clients/mining/examples/rest-api/MiningApi/accountList.ts
        rust: >-
          https://raw.githubusercontent.com/binance/binance-connector-rust/main/examples/mining/rest_api/mining_api/account_list.rs
        python: >-
          https://raw.githubusercontent.com/binance/binance-connector-python/master/clients/mining/examples/rest_api/Mining/account_list.py
        java: >-
          https://raw.githubusercontent.com/binance/binance-connector-java/master/examples/mining/src/main/java/com/binance/connector/client/mining/rest/mining/AccountListExample.java
        go: >-
          https://raw.githubusercontent.com/binance/binance-connector-go/main/clients/mining/examples/restapi/MiningAPI/AccountList/AccountList.go
        php: >-
          https://raw.githubusercontent.com/binance/binance-connector-php/master/examples/mining/mining/AccountListExample.php
      x-ip-weight: 1
      x-security-type: USER_DATA
      x-signed: true
      parameters:
        - name: X-MBX-APIKEY
          in: header
          required: true
          description: >-
            An API Key is required to access this endpoint and must be included in the request headers. To create an API
            Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
          x-description-cn: 访问此接口需要 API Key，并且必须在请求头中携带。关于如何创建 API Key，请参考：https://www.binance.com/cn/support/faq/detail/360002502072。
          schema:
            type: string
            example: API_KEY
        - name: algo
          in: query
          required: true
          schema:
            type: string
            example: sha256
          description: Algorithm name.
          x-description-cn: 算法名称。
        - name: userName
          in: query
          required: true
          schema:
            type: string
            example: test
          description: Mining account
          x-description-cn: 挖矿用户名
        - name: recvWindow
          in: query
          required: false
          schema:
            type: integer
            example: 5000
            format: int64
            maximum: 60000
          description: Request validity window in milliseconds.
          x-description-cn: 请求有效时间窗口，单位为毫秒。
        - name: timestamp
          in: query
          required: true
          schema:
            type: integer
            example: 1770736694138
            format: int64
          description: |-
            Unix timestamp in milliseconds used to sign the request. The value must reflect the current client time and
            is validated by the server for signed endpoints.
          x-description-cn: 用于请求签名的 Unix 时间戳，单位为毫秒. 该值必须反映客户端当前时间，并会在签名接口中由服务器进行校验.
      responses:
        "200":
          description: Account List
          x-description-cn: 账号列表
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    example: 0
                    format: int64
                  msg:
                    type: string
                    example: ""
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        type:
                          type: string
                          example: H_hashrate
                          description: Type of hashrate bucket
                          x-description-cn: 算力类型
                        userName:
                          type: string
                          example: test
                          description: Mining account
                          x-description-cn: 账户名
                        list:
                          type: array
                          items:
                            type: object
                            properties:
                              time:
                                type: integer
                                example: 1585267200000
                                format: int64
                                description: Time
                                x-description-cn: 时间
                              hashrate:
                                type: string
                                example: "0.00000000"
                                description: Hashrate
                                x-description-cn: 算力
                              reject:
                                type: string
                                example: "0.00000000"
                                description: Rejection rate
                                x-description-cn: 拒绝率
  /sapi/v1/mining/pub/algoList:
    get:
      summary: Acquiring Algorithm (MARKET_DATA)
      x-summary-cn: 获取算法 (MARKET_DATA)
      description: Acquiring Algorithm
      x-description-cn: 获取算法
      operationId: acquiringAlgorithm
      externalDocs:
        url: >-
          https://developers.binance.com/en/docs/catalog/investment-and-services-mining/api/rest-api/~#acquiring-algorithm
      x-connectors-examples:
        ts: >-
          https://raw.githubusercontent.com/binance/binance-connector-js/master/clients/mining/examples/rest-api/MiningApi/acquiringAlgorithm.ts
        rust: >-
          https://raw.githubusercontent.com/binance/binance-connector-rust/main/examples/mining/rest_api/mining_api/acquiring_algorithm.rs
        python: >-
          https://raw.githubusercontent.com/binance/binance-connector-python/master/clients/mining/examples/rest_api/Mining/acquiring_algorithm.py
        java: >-
          https://raw.githubusercontent.com/binance/binance-connector-java/master/examples/mining/src/main/java/com/binance/connector/client/mining/rest/mining/AcquiringAlgorithmExample.java
        go: >-
          https://raw.githubusercontent.com/binance/binance-connector-go/main/clients/mining/examples/restapi/MiningAPI/AcquiringAlgorithm/AcquiringAlgorithm.go
        php: >-
          https://raw.githubusercontent.com/binance/binance-connector-php/master/examples/mining/mining/AcquiringAlgorithmExample.php
      x-ip-weight: 1
      x-security-type: MARKET_DATA
      parameters:
        - name: X-MBX-APIKEY
          in: header
          required: true
          description: >-
            An API Key is required to access this endpoint and must be included in the request headers. To create an API
            Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
          x-description-cn: 访问此接口需要 API Key，并且必须在请求头中携带。关于如何创建 API Key，请参考：https://www.binance.com/cn/support/faq/detail/360002502072。
          schema:
            type: string
            example: API_KEY
      responses:
        "200":
          description: Acquiring Algorithm
          x-description-cn: 获取算法
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    example: 0
                    format: int64
                  msg:
                    type: string
                    example: ""
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        algoName:
                          type: string
                          example: SHA256-BTC
                          description: Algorithm name
                          x-description-cn: 算法名称
                        algoId:
                          type: integer
                          example: 1
                          format: int64
                          description: Algorithm ID
                          x-description-cn: 算法id
                        poolIndex:
                          type: integer
                          example: 100
                          format: int64
                          description: Sequence
                          x-description-cn: 序列
                        unit:
                          type: string
                          example: h/s
                          description: Unit
                          x-description-cn: 单位
  /sapi/v1/mining/pub/coinList:
    get:
      summary: Acquiring CoinName (MARKET_DATA)
      x-summary-cn: 获取币种 (MARKET_DATA)
      description: Acquiring CoinName
      x-description-cn: 获取币种
      operationId: acquiringCoinname
      externalDocs:
        url: >-
          https://developers.binance.com/en/docs/catalog/investment-and-services-mining/api/rest-api/~#acquiring-coinname
      x-connectors-examples:
        ts: >-
          https://raw.githubusercontent.com/binance/binance-connector-js/master/clients/mining/examples/rest-api/MiningApi/acquiringCoinname.ts
        rust: >-
          https://raw.githubusercontent.com/binance/binance-connector-rust/main/examples/mining/rest_api/mining_api/acquiring_coinname.rs
        python: >-
          https://raw.githubusercontent.com/binance/binance-connector-python/master/clients/mining/examples/rest_api/Mining/acquiring_coinname.py
        java: >-
          https://raw.githubusercontent.com/binance/binance-connector-java/master/examples/mining/src/main/java/com/binance/connector/client/mining/rest/mining/AcquiringCoinnameExample.java
        go: >-
          https://raw.githubusercontent.com/binance/binance-connector-go/main/clients/mining/examples/restapi/MiningAPI/AcquiringCoinname/AcquiringCoinname.go
        php: >-
          https://raw.githubusercontent.com/binance/binance-connector-php/master/examples/mining/mining/AcquiringCoinnameExample.php
      x-ip-weight: 1
      x-security-type: MARKET_DATA
      parameters:
        - name: X-MBX-APIKEY
          in: header
          required: true
          description: >-
            An API Key is required to access this endpoint and must be included in the request headers. To create an API
            Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
          x-description-cn: 访问此接口需要 API Key，并且必须在请求头中携带。关于如何创建 API Key，请参考：https://www.binance.com/cn/support/faq/detail/360002502072。
          schema:
            type: string
            example: API_KEY
      responses:
        "200":
          description: Acquiring CoinName
          x-description-cn: 获取币种
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    example: 0
                    format: int64
                  msg:
                    type: string
                    example: ""
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        coinName:
                          type: string
                          example: BTC
                          description: Currency name
                          x-description-cn: 币种名称
                        coinId:
                          type: integer
                          example: 1
                          format: int64
                          description: ID
                          x-description-cn: id
                        poolIndex:
                          type: integer
                          example: 0
                          format: int64
                          description: Sort
                          x-description-cn: 排序
                        algoId:
                          type: integer
                          example: 1
                          format: int64
                          description: Algorithm
                          x-description-cn: 所属算法
                        algoName:
                          type: string
                          example: SHA256-BTC
                          description: Name of algorithm
                          x-description-cn: 所属算法名称
  /sapi/v1/mining/hash-transfer/config/cancel:
    post:
      summary: Cancel hashrate resale configuration (USER_DATA)
      x-summary-cn: 取消算力转让设置 (USER_DATA)
      description: Cancel hashrate resale configuration
      x-description-cn: 取消算力转让设置
      operationId: cancelHashrateResaleConfiguration
      externalDocs:
        url: >-
          https://developers.binance.com/en/docs/catalog/investment-and-services-mining/api/rest-api/~#cancel-hashrate-resale-configuration
      x-connectors-examples:
        ts: >-
          https://raw.githubusercontent.com/binance/binance-connector-js/master/clients/mining/examples/rest-api/MiningApi/cancelHashrateResaleConfiguration.ts
        rust: >-
          https://raw.githubusercontent.com/binance/binance-connector-rust/main/examples/mining/rest_api/mining_api/cancel_hashrate_resale_configuration.rs
        python: >-
          https://raw.githubusercontent.com/binance/binance-connector-python/master/clients/mining/examples/rest_api/Mining/cancel_hashrate_resale_configuration.py
        java: >-
          https://raw.githubusercontent.com/binance/binance-connector-java/master/examples/mining/src/main/java/com/binance/connector/client/mining/rest/mining/CancelHashrateResaleConfigurationExample.java
        go: >-
          https://raw.githubusercontent.com/binance/binance-connector-go/main/clients/mining/examples/restapi/MiningAPI/CancelHashrateResaleConfiguration/CancelHashrateResaleConfiguration.go
        php: >-
          https://raw.githubusercontent.com/binance/binance-connector-php/master/examples/mining/mining/CancelHashrateResaleConfigurationExample.php
      x-ip-weight: 1
      x-security-type: USER_DATA
      x-signed: true
      parameters:
        - name: X-MBX-APIKEY
          in: header
          required: true
          description: >-
            An API Key is required to access this endpoint and must be included in the request headers. To create an API
            Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
          x-description-cn: 访问此接口需要 API Key，并且必须在请求头中携带。关于如何创建 API Key，请参考：https://www.binance.com/cn/support/faq/detail/360002502072。
          schema:
            type: string
            example: API_KEY
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              required:
                - configId
                - userName
                - timestamp
              properties:
                configId:
                  type: integer
                  example: 168
                  format: int64
                  description: Mining ID
                  x-description-cn: 配置的id
                userName:
                  type: string
                  example: test
                  description: Mining Account
                  x-description-cn: 挖矿用户名
                recvWindow:
                  type: integer
                  example: 5000
                  format: int64
                  maximum: 60000
                  description: Request validity window in milliseconds.
                  x-description-cn: 请求有效时间窗口，单位为毫秒。
                timestamp:
                  type: integer
                  example: 1770736694138
                  format: int64
                  description: |-
                    Unix timestamp in milliseconds used to sign the request. The value must reflect the current client
                    time and is validated by the server for signed endpoints.
                  x-description-cn: 用于请求签名的 Unix 时间戳，单位为毫秒. 该值必须反映客户端当前时间，并会在签名接口中由服务器进行校验.
      responses:
        "200":
          description: Cancel hashrate resale configuration
          x-description-cn: 取消算力转让设置
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    example: 0
                    format: int64
                  msg:
                    type: string
                    example: ""
                  data:
                    type: boolean
                    example: true
  /sapi/v1/mining/payment/list:
    get:
      summary: Earnings List (USER_DATA)
      x-summary-cn: 收益列表 (USER_DATA)
      description: Query Earnings List
      x-description-cn: 收益列表
      operationId: earningsList
      externalDocs:
        url: https://developers.binance.com/en/docs/catalog/investment-and-services-mining/api/rest-api/~#earnings-list
      x-connectors-examples:
        ts: >-
          https://raw.githubusercontent.com/binance/binance-connector-js/master/clients/mining/examples/rest-api/MiningApi/earningsList.ts
        rust: >-
          https://raw.githubusercontent.com/binance/binance-connector-rust/main/examples/mining/rest_api/mining_api/earnings_list.rs
        python: >-
          https://raw.githubusercontent.com/binance/binance-connector-python/master/clients/mining/examples/rest_api/Mining/earnings_list.py
        java: >-
          https://raw.githubusercontent.com/binance/binance-connector-java/master/examples/mining/src/main/java/com/binance/connector/client/mining/rest/mining/EarningsListExample.java
        go: >-
          https://raw.githubusercontent.com/binance/binance-connector-go/main/clients/mining/examples/restapi/MiningAPI/EarningsList/EarningsList.go
        php: >-
          https://raw.githubusercontent.com/binance/binance-connector-php/master/examples/mining/mining/EarningsListExample.php
      x-ip-weight: 1
      x-security-type: USER_DATA
      x-signed: true
      parameters:
        - name: X-MBX-APIKEY
          in: header
          required: true
          description: >-
            An API Key is required to access this endpoint and must be included in the request headers. To create an API
            Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
          x-description-cn: 访问此接口需要 API Key，并且必须在请求头中携带。关于如何创建 API Key，请参考：https://www.binance.com/cn/support/faq/detail/360002502072。
          schema:
            type: string
            example: API_KEY
        - name: algo
          in: query
          required: true
          schema:
            type: string
            example: sha256
          description: Algorithm name.
          x-description-cn: 算法名称。
        - name: userName
          in: query
          required: true
          schema:
            type: string
            example: test
          description: Mining account.
          x-description-cn: 挖矿用户名。
        - name: coin
          in: query
          required: false
          schema:
            type: string
            example: BTC
          description: Coin name
          x-description-cn: 币种名称
        - name: startDate
          in: query
          required: false
          schema:
            type: integer
            example: 1770736694138
            format: int64
          description: Search start time in milliseconds.
          x-description-cn: 搜索日期 毫秒时间戳，同时为空查询所有
        - name: endDate
          in: query
          required: false
          schema:
            type: integer
            example: 1770736694138
            format: int64
          description: Search end time in milliseconds.
          x-description-cn: 搜索日期 毫秒时间戳，同时为空查询所有
        - name: pageIndex
          in: query
          required: false
          schema:
            type: integer
            example: 1
            format: int64
            default: 1
          description: Page number, starting from 1.
          x-description-cn: 页码，为空默认第一页，从1开始
        - name: pageSize
          in: query
          required: false
          schema:
            type: integer
            example: 10
            format: int64
            minimum: 10
            maximum: 200
          description: Number of rows per page.
          x-description-cn: 分页数量,最小10,最大200
        - name: recvWindow
          in: query
          required: false
          schema:
            type: integer
            example: 5000
            format: int64
            maximum: 60000
          description: Request validity window in milliseconds.
          x-description-cn: 请求有效时间窗口，单位为毫秒。
        - name: timestamp
          in: query
          required: true
          schema:
            type: integer
            example: 1770736694138
            format: int64
          description: |-
            Unix timestamp in milliseconds used to sign the request. The value must reflect the current client time and
            is validated by the server for signed endpoints.
          x-description-cn: 用于请求签名的 Unix 时间戳，单位为毫秒. 该值必须反映客户端当前时间，并会在签名接口中由服务器进行校验.
      responses:
        "200":
          description: Earnings List
          x-description-cn: 收益列表
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    example: 0
                    format: int64
                  msg:
                    type: string
                    example: ""
                  data:
                    type: object
                    properties:
                      accountProfits:
                        type: array
                        items:
                          type: object
                          properties:
                            time:
                              type: integer
                              example: 1586188800000
                              format: int64
                              description: Mining date
                              x-description-cn: 时间
                            type:
                              type: integer
                              example: 31
                              format: int64
                              description: |-
                                0: Mining Wallet, 5: Mining Address, 7: Pool Savings, 8: Transferred, 31: Income
                                Transfer, 32: Hashrate Resale-Mining Wallet, 33: Hashrate Resale-Pool Savings
                              x-description-cn: |-
                                0: 矿池钱包, 5: 地址挖矿, 7: 矿池宝, 8: 已转让, 31: 收益转让, 32: 算力转让-矿池钱包, 33:
                                算力转让-矿池宝
                            hashTransfer:
                              type: integer
                              example: 200000000000
                              format: int64
                              description: Transferred hashrate
                              x-description-cn: 已转让算力
                            transferAmount:
                              type: number
                              example: 0.02180958
                              format: float
                              description: Transferred income
                              x-description-cn: 已转让收益
                            dayHashRate:
                              type: integer
                              example: 129129903378244
                              format: int64
                              description: Daily hashrate
                              x-description-cn: 算力
                            profitAmount:
                              type: number
                              example: 8.6083060304
                              format: float
                              description: Earnings amount
                              x-description-cn: 奖励数量
                            coinName:
                              type: string
                              example: BTC
                              description: Coin type
                              x-description-cn: 奖励币种
                            status:
                              type: integer
                              example: 2
                              format: int64
                              description: "Status: 0 Unpaid, 1 Paying, 2 Paid"
                              x-description-cn: "支付状态: 0 待支付, 1 支付中, 2 已支付"
                      totalNum:
                        type: integer
                        example: 3
                        format: int64
                        description: Total rows
                        x-description-cn: 总条数
                      pageSize:
                        type: integer
                        example: 20
                        format: int64
                        description: Rows per page
                        x-description-cn: 每页数量
  /sapi/v1/mining/payment/other:
    get:
      summary: Extra Bonus List (USER_DATA)
      x-summary-cn: 其他收益列表 (USER_DATA)
      description: Extra Bonus List
      x-description-cn: 其他收益列表
      operationId: extraBonusList
      externalDocs:
        url: https://developers.binance.com/en/docs/catalog/investment-and-services-mining/api/rest-api/~#extra-bonus-list
      x-connectors-examples:
        ts: >-
          https://raw.githubusercontent.com/binance/binance-connector-js/master/clients/mining/examples/rest-api/MiningApi/extraBonusList.ts
        rust: >-
          https://raw.githubusercontent.com/binance/binance-connector-rust/main/examples/mining/rest_api/mining_api/extra_bonus_list.rs
        python: >-
          https://raw.githubusercontent.com/binance/binance-connector-python/master/clients/mining/examples/rest_api/Mining/extra_bonus_list.py
        java: >-
          https://raw.githubusercontent.com/binance/binance-connector-java/master/examples/mining/src/main/java/com/binance/connector/client/mining/rest/mining/ExtraBonusListExample.java
        go: >-
          https://raw.githubusercontent.com/binance/binance-connector-go/main/clients/mining/examples/restapi/MiningAPI/ExtraBonusList/ExtraBonusList.go
        php: >-
          https://raw.githubusercontent.com/binance/binance-connector-php/master/examples/mining/mining/ExtraBonusListExample.php
      x-ip-weight: 1
      x-security-type: USER_DATA
      x-signed: true
      parameters:
        - name: X-MBX-APIKEY
          in: header
          required: true
          description: >-
            An API Key is required to access this endpoint and must be included in the request headers. To create an API
            Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
          x-description-cn: 访问此接口需要 API Key，并且必须在请求头中携带。关于如何创建 API Key，请参考：https://www.binance.com/cn/support/faq/detail/360002502072。
          schema:
            type: string
            example: API_KEY
        - name: algo
          in: query
          required: true
          schema:
            type: string
            example: sha256
          description: Transfer algorithm
          x-description-cn: 算法名称
        - name: userName
          in: query
          required: true
          schema:
            type: string
            example: test
          description: Mining account
          x-description-cn: 挖矿用户名
        - name: coin
          in: query
          required: false
          schema:
            type: string
            example: BTC
          description: Coin name
          x-description-cn: 币种名称
        - name: startDate
          in: query
          required: false
          schema:
            type: integer
            example: 1770736694138
            format: int64
          description: Search start time in milliseconds.
          x-description-cn: 搜索日期 毫秒时间戳，同时为空查询所有
        - name: endDate
          in: query
          required: false
          schema:
            type: integer
            example: 1770736694138
            format: int64
          description: Search end time in milliseconds.
          x-description-cn: 搜索日期 毫秒时间戳，同时为空查询所有
        - name: pageIndex
          in: query
          required: false
          schema:
            type: integer
            example: 1
            format: int64
            default: 1
          description: Page number, starting from 1.
          x-description-cn: 页码，为空默认第一页，从1开始
        - name: pageSize
          in: query
          required: false
          schema:
            type: integer
            example: 10
            format: int64
            minimum: 10
            maximum: 200
          description: Number of rows per page.
          x-description-cn: 分页数量,最小10,最大200
        - name: recvWindow
          in: query
          required: false
          schema:
            type: integer
            example: 5000
            format: int64
            maximum: 60000
          description: Request validity window in milliseconds.
          x-description-cn: 请求有效时间窗口，单位为毫秒。
        - name: timestamp
          in: query
          required: true
          schema:
            type: integer
            example: 1770736694138
            format: int64
          description: |-
            Unix timestamp in milliseconds used to sign the request. The value must reflect the current client time and
            is validated by the server for signed endpoints.
          x-description-cn: 用于请求签名的 Unix 时间戳，单位为毫秒. 该值必须反映客户端当前时间，并会在签名接口中由服务器进行校验.
      responses:
        "200":
          description: Extra Bonus List
          x-description-cn: 其他收益列表
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    example: 0
                    format: int64
                  msg:
                    type: string
                    example: ""
                  data:
                    type: object
                    properties:
                      otherProfits:
                        type: array
                        items:
                          type: object
                          properties:
                            time:
                              type: integer
                              example: 1607443200000
                              format: int64
                              description: Mining date
                              x-description-cn: 时间
                            coinName:
                              type: string
                              example: BTC
                              description: Coin name
                              x-description-cn: 奖励币种
                            type:
                              type: integer
                              example: 4
                              format: int64
                              description: |-
                                1: Merged Mining, 2: Activity Bonus, 3: Rebate, 4: Smart Pool, 6: Income Transfer, 7:
                                Pool Savings
                              x-description-cn: "1: 联合挖矿, 2: 活动奖励, 3: 返点, 4: 机枪奖励, 6: 收益转让, 7: 矿池宝"
                            profitAmount:
                              type: number
                              example: 0.0011859
                              format: float
                              description: Amount
                              x-description-cn: 奖励数量
                            status:
                              type: integer
                              example: 2
                              format: int64
                              description: "Status: 0 Unpaid, 1 Paying, 2 Paid"
                              x-description-cn: "支付状态: 0 待支付, 1 支付中, 2 已支付"
                      totalNum:
                        type: integer
                        example: 3
                        format: int64
                        description: Total rows
                        x-description-cn: 总条数
                      pageSize:
                        type: integer
                        example: 20
                        format: int64
                        description: Rows per page
                        x-description-cn: 每页数量
  /sapi/v1/mining/hash-transfer/profit/details:
    get:
      summary: Hashrate Resale Detail (USER_DATA)
      x-summary-cn: 算力转让详情 (USER_DATA)
      description: Hashrate Resale Detail(USER_DATA)
      x-description-cn: 算力转让详情
      operationId: hashrateResaleDetail
      externalDocs:
        url: >-
          https://developers.binance.com/en/docs/catalog/investment-and-services-mining/api/rest-api/~#hashrate-resale-detail
      x-connectors-examples:
        ts: >-
          https://raw.githubusercontent.com/binance/binance-connector-js/master/clients/mining/examples/rest-api/MiningApi/hashrateResaleDetail.ts
        rust: >-
          https://raw.githubusercontent.com/binance/binance-connector-rust/main/examples/mining/rest_api/mining_api/hashrate_resale_detail.rs
        python: >-
          https://raw.githubusercontent.com/binance/binance-connector-python/master/clients/mining/examples/rest_api/Mining/hashrate_resale_detail.py
        java: >-
          https://raw.githubusercontent.com/binance/binance-connector-java/master/examples/mining/src/main/java/com/binance/connector/client/mining/rest/mining/HashrateResaleDetailExample.java
        go: >-
          https://raw.githubusercontent.com/binance/binance-connector-go/main/clients/mining/examples/restapi/MiningAPI/HashrateResaleDetail/HashrateResaleDetail.go
        php: >-
          https://raw.githubusercontent.com/binance/binance-connector-php/master/examples/mining/mining/HashrateResaleDetailExample.php
      x-ip-weight: 1
      x-security-type: USER_DATA
      x-signed: true
      parameters:
        - name: X-MBX-APIKEY
          in: header
          required: true
          description: >-
            An API Key is required to access this endpoint and must be included in the request headers. To create an API
            Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
          x-description-cn: 访问此接口需要 API Key，并且必须在请求头中携带。关于如何创建 API Key，请参考：https://www.binance.com/cn/support/faq/detail/360002502072。
          schema:
            type: string
            example: API_KEY
        - name: configId
          in: query
          required: true
          schema:
            type: integer
            example: 168
            format: int64
          description: Configuration ID.
          x-description-cn: 配置 ID。
        - name: pageIndex
          in: query
          required: false
          schema:
            type: integer
            example: 1
            format: int64
            default: 1
          description: Page number, starting from 1.
          x-description-cn: 页码，为空默认第一页，从1开始
        - name: pageSize
          in: query
          required: false
          schema:
            type: integer
            example: 10
            format: int64
            minimum: 10
            maximum: 200
          description: Number of rows per page.
          x-description-cn: 分页数量,最小10,最大200
        - name: recvWindow
          in: query
          required: false
          schema:
            type: integer
            example: 5000
            format: int64
            maximum: 60000
          description: Request validity window in milliseconds.
          x-description-cn: 请求有效时间窗口，单位为毫秒。
        - name: timestamp
          in: query
          required: true
          schema:
            type: integer
            example: 1770736694138
            format: int64
          description: |-
            Unix timestamp in milliseconds used to sign the request. The value must reflect the current client time and
            is validated by the server for signed endpoints.
          x-description-cn: 用于请求签名的 Unix 时间戳，单位为毫秒. 该值必须反映客户端当前时间，并会在签名接口中由服务器进行校验.
      responses:
        "200":
          description: Hashrate Resale Detail
          x-description-cn: 算力转让详情
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    example: 0
                    format: int64
                  msg:
                    type: string
                    example: ""
                  data:
                    type: object
                    properties:
                      profitTransferDetails:
                        type: array
                        items:
                          type: object
                          properties:
                            poolUsername:
                              type: string
                              example: test4001
                              description: Transfer-out sub-account
                              x-description-cn: 转出子账户
                            toPoolUsername:
                              type: string
                              example: pop
                              description: Transfer-in sub-account
                              x-description-cn: 转入子账户
                            algoName:
                              type: string
                              example: sha256
                              description: Transfer algorithm name
                              x-description-cn: 转让算法名称
                            hashRate:
                              type: integer
                              example: 200000000000
                              format: int64
                              description: Transferred hashrate
                              x-description-cn: 转让算力
                            day:
                              type: integer
                              example: 20201213
                              format: int64
                              description: Transfer date
                              x-description-cn: 转让日期
                            amount:
                              type: number
                              example: 0.2256872
                              format: float
                              description: Transferred income
                              x-description-cn: 转让收益
                            coinName:
                              type: string
                              example: BTC
                              description: Income coin
                              x-description-cn: 收益币种
                      totalNum:
                        type: integer
                        example: 8
                        format: int64
                        description: Total rows
                        x-description-cn: 总条数
                      pageSize:
                        type: integer
                        example: 200
                        format: int64
                        description: Rows per page
                        x-description-cn: 每页数量
  /sapi/v1/mining/hash-transfer/config/details/list:
    get:
      summary: Hashrate Resale List (USER_DATA)
      x-summary-cn: 算力转让列表 (USER_DATA)
      description: Hashrate Resale List
      x-description-cn: 算力转让列表
      operationId: hashrateResaleList
      externalDocs:
        url: >-
          https://developers.binance.com/en/docs/catalog/investment-and-services-mining/api/rest-api/~#hashrate-resale-list
      x-connectors-examples:
        ts: >-
          https://raw.githubusercontent.com/binance/binance-connector-js/master/clients/mining/examples/rest-api/MiningApi/hashrateResaleList.ts
        rust: >-
          https://raw.githubusercontent.com/binance/binance-connector-rust/main/examples/mining/rest_api/mining_api/hashrate_resale_list.rs
        python: >-
          https://raw.githubusercontent.com/binance/binance-connector-python/master/clients/mining/examples/rest_api/Mining/hashrate_resale_list.py
        java: >-
          https://raw.githubusercontent.com/binance/binance-connector-java/master/examples/mining/src/main/java/com/binance/connector/client/mining/rest/mining/HashrateResaleListExample.java
        go: >-
          https://raw.githubusercontent.com/binance/binance-connector-go/main/clients/mining/examples/restapi/MiningAPI/HashrateResaleList/HashrateResaleList.go
        php: >-
          https://raw.githubusercontent.com/binance/binance-connector-php/master/examples/mining/mining/HashrateResaleListExample.php
      x-ip-weight: 1
      x-security-type: USER_DATA
      x-signed: true
      parameters:
        - name: X-MBX-APIKEY
          in: header
          required: true
          description: >-
            An API Key is required to access this endpoint and must be included in the request headers. To create an API
            Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
          x-description-cn: 访问此接口需要 API Key，并且必须在请求头中携带。关于如何创建 API Key，请参考：https://www.binance.com/cn/support/faq/detail/360002502072。
          schema:
            type: string
            example: API_KEY
        - name: pageIndex
          in: query
          required: false
          schema:
            type: integer
            example: 1
            format: int64
            default: 1
          description: Page number, starting from 1.
          x-description-cn: 页码，为空默认第一页，从1开始
        - name: pageSize
          in: query
          required: false
          schema:
            type: integer
            example: 10
            format: int64
            minimum: 10
            maximum: 200
          description: Number of rows per page.
          x-description-cn: 分页数量,最小10,最大200
        - name: recvWindow
          in: query
          required: false
          schema:
            type: integer
            example: 5000
            format: int64
            maximum: 60000
          description: Request validity window in milliseconds.
          x-description-cn: 请求有效时间窗口，单位为毫秒。
        - name: timestamp
          in: query
          required: true
          schema:
            type: integer
            example: 1770736694138
            format: int64
          description: |-
            Unix timestamp in milliseconds used to sign the request. The value must reflect the current client time and
            is validated by the server for signed endpoints.
          x-description-cn: 用于请求签名的 Unix 时间戳，单位为毫秒. 该值必须反映客户端当前时间，并会在签名接口中由服务器进行校验.
      responses:
        "200":
          description: Hashrate Resale List
          x-description-cn: 算力转让列表
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    example: 0
                    format: int64
                  msg:
                    type: string
                    example: ""
                  data:
                    type: object
                    properties:
                      configDetails:
                        type: array
                        items:
                          type: object
                          properties:
                            configId:
                              type: integer
                              example: 168
                              format: int64
                              description: Configuration ID
                              x-description-cn: 该配置的id
                            poolUsername:
                              type: string
                              example: "123"
                              description: Transfer-out sub-account
                              x-description-cn: 转出子账户
                            toPoolUsername:
                              type: string
                              example: user1
                              description: Transfer-in sub-account
                              x-description-cn: 转入子账户
                            algoName:
                              type: string
                              example: Ethash
                              description: Transfer algorithm name
                              x-description-cn: 转让算法名称
                            hashRate:
                              type: integer
                              example: 5000000
                              format: int64
                              description: Transferred hashrate
                              x-description-cn: 转让算力
                            startDay:
                              type: integer
                              example: 20201210
                              format: int64
                              description: Start date
                              x-description-cn: 开始时间
                            endDay:
                              type: integer
                              example: 20210405
                              format: int64
                              description: End date
                              x-description-cn: 结束时间
                            status:
                              type: integer
                              example: 1
                              format: int64
                              description: "Status: 0 Processing, 1 Cancelled, 2 Terminated"
                              x-description-cn: "状态: 0 进行中, 1 已取消, 2 已终止"
                            type:
                              type: integer
                              example: 0
                              format: int64
                              description: "Type: 0 Hashrate transfer record, 1 Hashrate receive record"
                              x-description-cn: "类型: 0 算力转让记录, 1 算力接收记录"
                      totalNum:
                        type: integer
                        example: 21
                        format: int64
                        description: Total rows
                        x-description-cn: 总条数
                      pageSize:
                        type: integer
                        example: 200
                        format: int64
                        description: Rows per page
                        x-description-cn: 每页数量
  /sapi/v1/mining/hash-transfer/config:
    post:
      summary: Hashrate Resale Request (USER_DATA)
      x-summary-cn: 算力转让请求 (USER_DATA)
      description: Hashrate Resale Request
      x-description-cn: 算力转让请求
      operationId: hashrateResaleRequest
      externalDocs:
        url: >-
          https://developers.binance.com/en/docs/catalog/investment-and-services-mining/api/rest-api/~#hashrate-resale-request
      x-connectors-examples:
        ts: >-
          https://raw.githubusercontent.com/binance/binance-connector-js/master/clients/mining/examples/rest-api/MiningApi/hashrateResaleRequest.ts
        rust: >-
          https://raw.githubusercontent.com/binance/binance-connector-rust/main/examples/mining/rest_api/mining_api/hashrate_resale_request.rs
        python: >-
          https://raw.githubusercontent.com/binance/binance-connector-python/master/clients/mining/examples/rest_api/Mining/hashrate_resale_request.py
        java: >-
          https://raw.githubusercontent.com/binance/binance-connector-java/master/examples/mining/src/main/java/com/binance/connector/client/mining/rest/mining/HashrateResaleRequestExample.java
        go: >-
          https://raw.githubusercontent.com/binance/binance-connector-go/main/clients/mining/examples/restapi/MiningAPI/HashrateResaleRequest/HashrateResaleRequest.go
        php: >-
          https://raw.githubusercontent.com/binance/binance-connector-php/master/examples/mining/mining/HashrateResaleRequestExample.php
      x-ip-weight: 1
      x-security-type: USER_DATA
      x-signed: true
      parameters:
        - name: X-MBX-APIKEY
          in: header
          required: true
          description: >-
            An API Key is required to access this endpoint and must be included in the request headers. To create an API
            Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
          x-description-cn: 访问此接口需要 API Key，并且必须在请求头中携带。关于如何创建 API Key，请参考：https://www.binance.com/cn/support/faq/detail/360002502072。
          schema:
            type: string
            example: API_KEY
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              required:
                - userName
                - algo
                - endDate
                - startDate
                - toPoolUser
                - hashRate
                - timestamp
              properties:
                userName:
                  type: string
                  example: test
                  description: Mining Account
                  x-description-cn: 挖矿用户名
                algo:
                  type: string
                  example: sha256
                  description: Transfer algorithm
                  x-description-cn: 算法名称
                endDate:
                  type: integer
                  example: 1770736694138
                  format: int64
                  description: Resale End Time (Millisecond timestamp)
                  x-description-cn: 转让结束时间(毫秒时间戳)
                startDate:
                  type: integer
                  example: 1770736694138
                  format: int64
                  description: Resale Start Time(Millisecond timestamp)
                  x-description-cn: 转让开始时间(毫秒时间戳)
                toPoolUser:
                  type: string
                  example: S19pro
                  description: Mining Account
                  x-description-cn: 挖矿用户名
                hashRate:
                  type: integer
                  example: 100000000
                  format: int64
                  description: |-
                    Resale hashrate h/s must be transferred (BTC is greater than 500000000000 ETH is greater than
                    500000)
                  x-description-cn: 转让算力h/s必传(BTC 大于 500000000000 ETH大于 500000)
                recvWindow:
                  type: integer
                  example: 5000
                  format: int64
                  maximum: 60000
                  description: Request validity window in milliseconds.
                  x-description-cn: 请求有效时间窗口，单位为毫秒。
                timestamp:
                  type: integer
                  example: 1770736694138
                  format: int64
                  description: |-
                    Unix timestamp in milliseconds used to sign the request. The value must reflect the current client
                    time and is validated by the server for signed endpoints.
                  x-description-cn: 用于请求签名的 Unix 时间戳，单位为毫秒. 该值必须反映客户端当前时间，并会在签名接口中由服务器进行校验.
      responses:
        "200":
          description: Hashrate Resale Request
          x-description-cn: 算力转让请求
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    example: 0
                    format: int64
                  msg:
                    type: string
                    example: ""
                  data:
                    type: integer
                    example: 171
                    format: int64
                    description: Configuration ID
                    x-description-cn: 该配置的id
  /sapi/v1/mining/payment/uid:
    get:
      summary: Mining Account Earning (USER_DATA)
      x-summary-cn: 矿池账户收益列表 (USER_DATA)
      description: Mining Account Earning
      x-description-cn: 矿池账户收益列表
      operationId: miningAccountEarning
      externalDocs:
        url: >-
          https://developers.binance.com/en/docs/catalog/investment-and-services-mining/api/rest-api/~#mining-account-earning
      x-connectors-examples:
        ts: >-
          https://raw.githubusercontent.com/binance/binance-connector-js/master/clients/mining/examples/rest-api/MiningApi/miningAccountEarning.ts
        rust: >-
          https://raw.githubusercontent.com/binance/binance-connector-rust/main/examples/mining/rest_api/mining_api/mining_account_earning.rs
        python: >-
          https://raw.githubusercontent.com/binance/binance-connector-python/master/clients/mining/examples/rest_api/Mining/mining_account_earning.py
        java: >-
          https://raw.githubusercontent.com/binance/binance-connector-java/master/examples/mining/src/main/java/com/binance/connector/client/mining/rest/mining/MiningAccountEarningExample.java
        go: >-
          https://raw.githubusercontent.com/binance/binance-connector-go/main/clients/mining/examples/restapi/MiningAPI/MiningAccountEarning/MiningAccountEarning.go
        php: >-
          https://raw.githubusercontent.com/binance/binance-connector-php/master/examples/mining/mining/MiningAccountEarningExample.php
      x-ip-weight: 1
      x-security-type: USER_DATA
      x-signed: true
      parameters:
        - name: X-MBX-APIKEY
          in: header
          required: true
          description: >-
            An API Key is required to access this endpoint and must be included in the request headers. To create an API
            Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
          x-description-cn: 访问此接口需要 API Key，并且必须在请求头中携带。关于如何创建 API Key，请参考：https://www.binance.com/cn/support/faq/detail/360002502072。
          schema:
            type: string
            example: API_KEY
        - name: algo
          in: query
          required: true
          schema:
            type: string
            example: sha256
          description: Algorithm
          x-description-cn: 算法名称
        - name: startDate
          in: query
          required: false
          schema:
            type: integer
            example: 1770736694138
            format: int64
          description: Millisecond timestamp
          x-description-cn: 搜索日期 毫秒时间戳，同时为空查询所有
        - name: endDate
          in: query
          required: false
          schema:
            type: integer
            example: 1770736694138
            format: int64
          description: Millisecond timestamp
          x-description-cn: 搜索日期 毫秒时间戳，同时为空查询所有
        - name: pageIndex
          in: query
          required: false
          schema:
            type: integer
            example: 1
            format: int64
            default: 1
          description: Page number, starting from 1.
          x-description-cn: 页码，为空默认第一页，从1开始
        - name: pageSize
          in: query
          required: false
          schema:
            type: integer
            example: 10
            format: int64
            minimum: 10
            maximum: 200
          description: Number of rows per page.
          x-description-cn: 分页数量,最小10,最大200
        - name: recvWindow
          in: query
          required: false
          schema:
            type: integer
            example: 5000
            format: int64
            maximum: 60000
          description: Request validity window in milliseconds.
          x-description-cn: 请求有效时间窗口，单位为毫秒。
        - name: timestamp
          in: query
          required: true
          schema:
            type: integer
            example: 1770736694138
            format: int64
          description: |-
            Unix timestamp in milliseconds used to sign the request. The value must reflect the current client time and
            is validated by the server for signed endpoints.
          x-description-cn: 用于请求签名的 Unix 时间戳，单位为毫秒. 该值必须反映客户端当前时间，并会在签名接口中由服务器进行校验.
      responses:
        "200":
          description: Mining Account Earning
          x-description-cn: 矿池账户收益列表
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    example: 0
                    format: int64
                  msg:
                    type: string
                    example: ""
                  data:
                    type: object
                    properties:
                      accountProfits:
                        type: array
                        items:
                          type: object
                          properties:
                            time:
                              type: integer
                              example: 1607443200000
                              format: int64
                              description: Time
                              x-description-cn: 时间
                            coinName:
                              type: string
                              example: BTC
                              description: Coin
                              x-description-cn: 币种
                            type:
                              type: integer
                              example: 2
                              format: int64
                              description: "0: Referral, 1: Refund, 2: Rebate"
                              x-description-cn: "0: 邀请返佣, 1: 邀请返现, 2: 返点"
                            puid:
                              type: integer
                              example: 59985472
                              format: int64
                              description: Mining sub-account ID
                              x-description-cn: 挖矿子账户id
                            subName:
                              type: string
                              example: vdvaghani
                              description: Mining account
                              x-description-cn: 挖矿账户名
                            amount:
                              type: number
                              example: 0.09186957
                              format: float
                              description: Amount
                              x-description-cn: 数量
                      totalNum:
                        type: integer
                        example: 3
                        format: int64
                        description: Total records
                        x-description-cn: 总条数
                      pageSize:
                        type: integer
                        example: 20
                        format: int64
                        description: Rows per page
                        x-description-cn: 每页数量
  /sapi/v1/mining/worker/detail:
    get:
      summary: Request for Detail Miner List (USER_DATA)
      x-summary-cn: 请求矿工列表明细 (USER_DATA)
      description: Request for Detail Miner List
      x-description-cn: 请求矿工列表明细
      operationId: requestForDetailMinerList
      externalDocs:
        url: >-
          https://developers.binance.com/en/docs/catalog/investment-and-services-mining/api/rest-api/~#request-for-detail-miner-list
      x-connectors-examples:
        ts: >-
          https://raw.githubusercontent.com/binance/binance-connector-js/master/clients/mining/examples/rest-api/MiningApi/requestForDetailMinerList.ts
        rust: >-
          https://raw.githubusercontent.com/binance/binance-connector-rust/main/examples/mining/rest_api/mining_api/request_for_detail_miner_list.rs
        python: >-
          https://raw.githubusercontent.com/binance/binance-connector-python/master/clients/mining/examples/rest_api/Mining/request_for_detail_miner_list.py
        java: >-
          https://raw.githubusercontent.com/binance/binance-connector-java/master/examples/mining/src/main/java/com/binance/connector/client/mining/rest/mining/RequestForDetailMinerListExample.java
        go: >-
          https://raw.githubusercontent.com/binance/binance-connector-go/main/clients/mining/examples/restapi/MiningAPI/RequestForDetailMinerList/RequestForDetailMinerList.go
        php: >-
          https://raw.githubusercontent.com/binance/binance-connector-php/master/examples/mining/mining/RequestForDetailMinerListExample.php
      x-ip-weight: 1
      x-security-type: USER_DATA
      x-signed: true
      parameters:
        - name: X-MBX-APIKEY
          in: header
          required: true
          description: >-
            An API Key is required to access this endpoint and must be included in the request headers. To create an API
            Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
          x-description-cn: 访问此接口需要 API Key，并且必须在请求头中携带。关于如何创建 API Key，请参考：https://www.binance.com/cn/support/faq/detail/360002502072。
          schema:
            type: string
            example: API_KEY
        - name: algo
          in: query
          required: true
          schema:
            type: string
            example: sha256
          description: Algorithm
          x-description-cn: 算法名称
        - name: userName
          in: query
          required: true
          schema:
            type: string
            example: test
          description: Mining account
          x-description-cn: 挖矿用户名
        - name: workerName
          in: query
          required: true
          schema:
            type: string
            example: bhdc1.16A10404B
          description: Miner name.
          x-description-cn: 矿工用户名，必传
        - name: recvWindow
          in: query
          required: false
          schema:
            type: integer
            example: 5000
            format: int64
            maximum: 60000
          description: Request validity window in milliseconds.
          x-description-cn: 请求有效时间窗口，单位为毫秒。
        - name: timestamp
          in: query
          required: true
          schema:
            type: integer
            example: 1770736694138
            format: int64
          description: |-
            Unix timestamp in milliseconds used to sign the request. The value must reflect the current client time and
            is validated by the server for signed endpoints.
          x-description-cn: 用于请求签名的 Unix 时间戳，单位为毫秒. 该值必须反映客户端当前时间，并会在签名接口中由服务器进行校验.
      responses:
        "200":
          description: Request for Detail Miner List
          x-description-cn: 请求矿工列表明细
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    example: 0
                    format: int64
                  msg:
                    type: string
                    example: ""
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        workerName:
                          type: string
                          example: bhdc1.16A10404B
                          description: Mining account name
                          x-description-cn: 挖矿用户名
                        type:
                          type: string
                          example: H_hashrate
                          description: Type of hashrate bucket
                          x-description-cn: 算力类型
                        hashrateDatas:
                          type: array
                          items:
                            type: object
                            properties:
                              time:
                                type: integer
                                example: 1587902400000
                                format: int64
                                description: Time
                                x-description-cn: 时间
                              hashrate:
                                type: string
                                example: "0"
                                description: Hashrate
                                x-description-cn: 算力
                              reject:
                                type: integer
                                example: 0
                                format: int64
                                description: Rejection rate
                                x-description-cn: 拒绝率
  /sapi/v1/mining/worker/list:
    get:
      summary: Request for Miner List (USER_DATA)
      x-summary-cn: 请求矿工列表 (USER_DATA)
      description: Request for Miner List
      x-description-cn: 请求矿工列表
      operationId: requestForMinerList
      externalDocs:
        url: >-
          https://developers.binance.com/en/docs/catalog/investment-and-services-mining/api/rest-api/~#request-for-miner-list
      x-connectors-examples:
        ts: >-
          https://raw.githubusercontent.com/binance/binance-connector-js/master/clients/mining/examples/rest-api/MiningApi/requestForMinerList.ts
        rust: >-
          https://raw.githubusercontent.com/binance/binance-connector-rust/main/examples/mining/rest_api/mining_api/request_for_miner_list.rs
        python: >-
          https://raw.githubusercontent.com/binance/binance-connector-python/master/clients/mining/examples/rest_api/Mining/request_for_miner_list.py
        java: >-
          https://raw.githubusercontent.com/binance/binance-connector-java/master/examples/mining/src/main/java/com/binance/connector/client/mining/rest/mining/RequestForMinerListExample.java
        go: >-
          https://raw.githubusercontent.com/binance/binance-connector-go/main/clients/mining/examples/restapi/MiningAPI/RequestForMinerList/RequestForMinerList.go
        php: >-
          https://raw.githubusercontent.com/binance/binance-connector-php/master/examples/mining/mining/RequestForMinerListExample.php
      x-ip-weight: 1
      x-security-type: USER_DATA
      x-signed: true
      parameters:
        - name: X-MBX-APIKEY
          in: header
          required: true
          description: >-
            An API Key is required to access this endpoint and must be included in the request headers. To create an API
            Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
          x-description-cn: 访问此接口需要 API Key，并且必须在请求头中携带。关于如何创建 API Key，请参考：https://www.binance.com/cn/support/faq/detail/360002502072。
          schema:
            type: string
            example: API_KEY
        - name: algo
          in: query
          required: true
          schema:
            type: string
            example: sha256
          description: Algorithm
          x-description-cn: 算法名称
        - name: userName
          in: query
          required: true
          schema:
            type: string
            example: test
          description: Mining account
          x-description-cn: 挖矿用户名
        - name: pageIndex
          in: query
          required: false
          schema:
            type: integer
            example: 1
            format: int64
            default: 1
          description: Page number, starting from 1.
          x-description-cn: 页码，为空默认第一页，从1开始
        - name: sort
          in: query
          required: false
          schema:
            type: integer
            example: 0
            format: int64
            default: 0
          description: Sort order. 0 for ascending, 1 for descending.
          x-description-cn: "排序方向(为空默认为0): 0 正序，1 倒序"
        - name: sortColumn
          in: query
          required: false
          schema:
            type: integer
            example: 1
            format: int64
            default: 1
          description: |-
            Sort by: 1 miner name, 2 real-time hashrate, 3 daily average hashrate, 4 real-time rejection
            rate, 5 last submission time
          x-description-cn: "排序规则(默认为1): 1 矿工姓名, 2 实时算力, 3 日均算力, 4 实时拒绝率, 5 最后提交时间"
        - name: workerStatus
          in: query
          required: false
          schema:
            type: integer
            example: 0
            format: int64
            default: 0
          description: Miner status. 0 all, 1 valid, 2 invalid, 3 failure.
          x-description-cn: 矿机状态(默认为0)：0 全部，1 有效， 2 无效， 3 失效
        - name: recvWindow
          in: query
          required: false
          schema:
            type: integer
            example: 5000
            format: int64
            maximum: 60000
          description: Request validity window in milliseconds.
          x-description-cn: 请求有效时间窗口，单位为毫秒。
        - name: timestamp
          in: query
          required: true
          schema:
            type: integer
            example: 1770736694138
            format: int64
          description: |-
            Unix timestamp in milliseconds used to sign the request. The value must reflect the current client time and
            is validated by the server for signed endpoints.
          x-description-cn: 用于请求签名的 Unix 时间戳，单位为毫秒. 该值必须反映客户端当前时间，并会在签名接口中由服务器进行校验.
      responses:
        "200":
          description: Request for Miner List
          x-description-cn: 请求矿工列表
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    example: 0
                    format: int64
                  msg:
                    type: string
                    example: ""
                  data:
                    type: object
                    properties:
                      workerDatas:
                        type: array
                        items:
                          type: object
                          properties:
                            workerId:
                              type: string
                              example: "1420554439452400131"
                              description: Miner ID
                              x-description-cn: 矿工id
                            workerName:
                              type: string
                              example: 2X73
                              description: Miner name
                              x-description-cn: 矿工姓名
                            status:
                              type: integer
                              example: 3
                              format: int64
                              description: "Status: 1 Valid, 2 Invalid, 3 No longer valid"
                              x-description-cn: "状态: 1 有效, 2 无效, 3 失效"
                            hashRate:
                              type: integer
                              example: 0
                              format: int64
                              description: Real-time rate
                              x-description-cn: 实时速率
                            dayHashRate:
                              type: number
                              example: 12697781298013.66
                              format: float
                              description: 24H hashrate
                              x-description-cn: 日均算力
                            rejectRate:
                              type: integer
                              example: 0
                              format: int64
                              description: Real-time rejection rate
                              x-description-cn: 实时拒绝率
                            lastShareTime:
                              type: integer
                              example: 1587712919000
                              format: int64
                              description: Last share time
                              x-description-cn: 最后提交时间
                      totalNum:
                        type: integer
                        example: 18530
                        format: int64
                        description: Total amount
                        x-description-cn: 总数量
                      pageSize:
                        type: integer
                        example: 20
                        format: int64
                        description: Rows per page
                        x-description-cn: 每页条数
  /sapi/v1/mining/statistics/user/status:
    get:
      summary: Statistic List (USER_DATA)
      x-summary-cn: 统计列表 (USER_DATA)
      description: Statistic List
      x-description-cn: 统计列表
      operationId: statisticList
      externalDocs:
        url: https://developers.binance.com/en/docs/catalog/investment-and-services-mining/api/rest-api/~#statistic-list
      x-connectors-examples:
        ts: >-
          https://raw.githubusercontent.com/binance/binance-connector-js/master/clients/mining/examples/rest-api/MiningApi/statisticList.ts
        rust: >-
          https://raw.githubusercontent.com/binance/binance-connector-rust/main/examples/mining/rest_api/mining_api/statistic_list.rs
        python: >-
          https://raw.githubusercontent.com/binance/binance-connector-python/master/clients/mining/examples/rest_api/Mining/statistic_list.py
        java: >-
          https://raw.githubusercontent.com/binance/binance-connector-java/master/examples/mining/src/main/java/com/binance/connector/client/mining/rest/mining/StatisticListExample.java
        go: >-
          https://raw.githubusercontent.com/binance/binance-connector-go/main/clients/mining/examples/restapi/MiningAPI/StatisticList/StatisticList.go
        php: >-
          https://raw.githubusercontent.com/binance/binance-connector-php/master/examples/mining/mining/StatisticListExample.php
      x-ip-weight: 1
      x-security-type: USER_DATA
      x-signed: true
      parameters:
        - name: X-MBX-APIKEY
          in: header
          required: true
          description: >-
            An API Key is required to access this endpoint and must be included in the request headers. To create an API
            Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
          x-description-cn: 访问此接口需要 API Key，并且必须在请求头中携带。关于如何创建 API Key，请参考：https://www.binance.com/cn/support/faq/detail/360002502072。
          schema:
            type: string
            example: API_KEY
        - name: algo
          in: query
          required: true
          schema:
            type: string
            example: sha256
          description: Algorithm
          x-description-cn: 算法名称
        - name: userName
          in: query
          required: true
          schema:
            type: string
            example: test
          description: Mining account
          x-description-cn: 挖矿用户名
        - name: recvWindow
          in: query
          required: false
          schema:
            type: integer
            example: 5000
            format: int64
            maximum: 60000
          description: Request validity window in milliseconds.
          x-description-cn: 请求有效时间窗口，单位为毫秒。
        - name: timestamp
          in: query
          required: true
          schema:
            type: integer
            example: 1770736694138
            format: int64
          description: |-
            Unix timestamp in milliseconds used to sign the request. The value must reflect the current client time and
            is validated by the server for signed endpoints.
          x-description-cn: 用于请求签名的 Unix 时间戳，单位为毫秒. 该值必须反映客户端当前时间，并会在签名接口中由服务器进行校验.
      responses:
        "200":
          description: Statistic List
          x-description-cn: 统计列表
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    example: 0
                    format: int64
                  msg:
                    type: string
                    example: ""
                  data:
                    type: object
                    properties:
                      fifteenMinHashRate:
                        type: string
                        example: "457835490067496409.00000000"
                        description: 15-minute hashrate
                        x-description-cn: 15分钟算力
                      dayHashRate:
                        type: string
                        example: "214289268068874127.65000000"
                        description: 24H hashrate
                        x-description-cn: 日均算力
                      validNum:
                        type: integer
                        example: 0
                        format: int64
                        description: Effective quantity
                        x-description-cn: 有效数量
                      invalidNum:
                        type: integer
                        example: 17562
                        format: int64
                        description: Invalid quantity
                        x-description-cn: 无效数量
                      profitToday:
                        type: object
                        description: >-
                          Today's estimate. Keys are coin symbols (e.g. BTC, BSV, BCH), values are earning amounts as
                          strings.
                        x-description-cn: 今日预估。键为币种符号（如 BTC、BSV、BCH），值为收益金额字符串。
                        additionalProperties:
                          type: string
                        example:
                          BTC: "0.00314332"
                          BSV: "56.17055953"
                          BCH: "106.61586001"
                      profitYesterday:
                        type: object
                        description: >-
                          Yesterday's earnings. Keys are coin symbols (e.g. BTC, BSV, BCH), values are earning amounts
                          as strings.
                        x-description-cn: 昨日收益。键为币种符号（如 BTC、BSV、BCH），值为收益金额字符串。
                        additionalProperties:
                          type: string
                        example:
                          BTC: "0.00314332"
                          BSV: "56.17055953"
                          BCH: "106.61586001"
                      userName:
                        type: string
                        example: test
                        description: Mining account
                        x-description-cn: 挖矿账户
                      unit:
                        type: string
                        example: h/s
                        description: Unit
                        x-description-cn: 单位
                      algo:
                        type: string
                        example: sha256
                        description: Algorithm
                        x-description-cn: 所属算法
