Mining

Earnings List (USER_DATA)

Weight(IP): 5

get/sapi/v1/mining/payment/list

Query parameters

algostring required

Algorithm(sha256)

userNamestring required

Mining Account

coinstring
Example:BNB

Coin name

startDatestring

Search date, millisecond timestamp, while empty query all

endDatestring

Search date, millisecond timestamp, while empty query all

pageIndexinteger

Page number, default is first page, start form 1

pageSizestring

Number of pages, minimum 10, maximum 200

recvWindowinteger
Example:5000

The value cannot be greater than 60000

timestampinteger required

UTC timestamp in ms

signaturestring required

Signature

Response

List of earnings

codeinteger required
msgstring required

Example response

{
  "data": {
    "accountProfits": [
      {
        "time": 1586188800000,
        "type": 31,
        "dayHashRate": 129129903378244,
        "profitAmount": 8.6083060304,
        "coinName": "BTC",
        "status": 2
      }
    ],
    "totalNum": 3,
    "pageSize": 20
  }
}

Changes

Changed in 1 of the 26 revisions of this API.318

  • a484ce871a72318See the full diff
    • for the query request parameter pageIndex, the type/format was changed from string/ to integer/int32

      request-parameter-type-changed

    • for the query request parameter recvWindow, the type/format was changed from integer/ to integer/int64

      request-parameter-type-changed

    • for the query request parameter timestamp, the type/format was changed from integer/ to integer/int64

      request-parameter-type-changed

    • the response property code became required for the status 200

      response-property-became-required

    • the response property code became required for the status 400

      response-property-became-required

    • the response property code became required for the status 401

      response-property-became-required

    • the response property data became required for the status 200

      response-property-became-required

    • the response property data/accountProfits became required for the status 200

      response-property-became-required

    • the response property data/accountProfits/items/coinName became required for the status 200

      response-property-became-required

    • the response property data/accountProfits/items/dayHashRate became required for the status 200

      response-property-became-required

    • the response property data/accountProfits/items/hashTransfer became required for the status 200

      response-property-became-required

    • the response property data/accountProfits/items/profitAmount became required for the status 200

      response-property-became-required

    • the response property data/accountProfits/items/status became required for the status 200

      response-property-became-required

    • the response property data/accountProfits/items/time became required for the status 200

      response-property-became-required

    • the response property data/accountProfits/items/transferAmount became required for the status 200

      response-property-became-required

    • the response property data/accountProfits/items/type became required for the status 200

      response-property-became-required

    • the response property data/pageSize became required for the status 200

      response-property-became-required

    • the response property data/totalNum became required for the status 200

      response-property-became-required

    • the response property msg became required for the status 200

      response-property-became-required

    • the response property msg became required for the status 400

      response-property-became-required

    • the response property msg became required for the status 401

      response-property-became-required