Skip to content
On this page

公共参数

建议使用我们所提供的sdk来完成公共参数拼装、签名、验签,您仅需要专注业务上的开发。

公共请求参数

请求字段

参数类型是否必填描述示例
appIdString必须应用id
signString必须签名
timestampLong必须当前毫秒时间戳
nonceString必须随机字符串
methodString必须方法名枚举列表
bizDataString必须业务对象JSON字符串

请求格式

JSON
{
    "appId": "AXS56OL3JBUY",
    "timestamp": 1663926228000,
    "nonce": "4b8099510bae4f0093d1369fd26a919f",
    "method": "market.transfer.verify.sign",
    "sign": "xxxxxxxxxxxx",
    "bizData": {}
}

公共响应参数

响应字段

参数类型是否必填描述示例
codeInteger必须响应状态码
msgString必须响应消息
timestampLong必须当前毫秒时间戳
nonceString必须随机字符串
signString必须签名
bizDataString必须业务对象JSON字符串

响应格式

JSON
{
    "code": 200,
    "msg": "操作成功",
    "timestamp": 1663926228000,
    "nonce": "4b8099510bae4f0093d1369fd26a919f",
    "sign": "xxxxxxxxxx",
    "bizData": {}
}

method枚举列表

一级平台api

接口method值
连通性测试market.transfer.verify.sign
验证用户注册手机号market.transfer.verify.phone
获取用户藏品的系列列表market.transfer.albums
获取用户藏品列表market.transfer.products
验证单个用户藏品market.transfer.verify.product
转赠接收地址确认market.transfer.verify.address
单个藏品转赠申请market.transfer.apply
单个藏品转赠结果确认market.transfer.confirm

盯链网关

接口method值
转赠结果回调market.transfer.callback
同步用户信息market.transfer.sync