简要描述:

  • 币种明细

请求URL:

GET/plugin.love-speed-pool.frontend.wallet.getValueData

请求参数说明:

参数名 类型 是否必需 说明
value int true 币种值,当value=0,明细不返回,只返回可用爱心值数量
page int true 页码

返回示例:

错误时返回:

{
	"result": 0,
	"msg": "钱包设置没有设置对应币种 ",
	-"data": []
}
{
	"result": 0,
	"msg": "绑定接口请求失败 ",
	-"data": []
}
{
	"result": 0,
	"msg": "资产接口请求失败 ",
	-"data": []
}

正确时返回:

{
  "result": 1,
  "msg": "ok",
  "data": {
    "user_assets": 0,
    "records": {
      "total": "1308",
      "data": [
        {
          "id": "6947028",
          "type": "1",
          "category": "user_transfer",
          "uid": "8",
          "from": "8",
          "from_address": "",
          "category_name": "转账",
          "amount": "-5",
          "fee": "0",
          "currency": "GKZ",
          "op_address": "",
          "status": "1",
          "status_des": "已完成",
          "transaction_id": "20220421161448CjGaOtX",
          "create_at": "1650528888",
          "update_at": "1650528888"
        },
        {
          "id": "6947012",
          "type": "1",
          "category": "user_transfer",
          "uid": "8",
          "from": "8",
          "from_address": "",
          "category_name": "转账",
          "amount": "-5",
          "fee": "0",
          "currency": "GKZ",
          "op_address": "",
          "status": "1",
          "status_des": "已完成",
          "transaction_id": "20220421154658DX51sxF",
          "create_at": "1650527218",
          "update_at": "1650527218"
        }
      ]
    }
  }
}

返回参数说明:

参数名 类型 说明
user_assets float 用户资产
records arr 数组,记录明细
records=>total int 记录总数
records=>data arr 记录信息
records=>data=>amount float 数量
records=>data=>category_name str 类型
records=>data=>status_des str 状态
records=>data=>create_at int 时间戳