接入 API

POST /api/v1/batch/address/create

请求

请求参数

名称类型是否必须描述
pidinteger(int64)项目编号
chain_idstring链编号chain_id
aliasstring显示名称,如果填写该值,长度限制在1-40个字符
callback_urlstring回调地址,该地址接收资金时会向对应的callback_url发起交易回调通知,回调详情参考 地址充值通知
numberstring创建地址的数量值,在1-100之间,包含100
noncestring6位随机字符串
timestampinteger(int64)时间戳
signstring签名串
请求示例
{
  "pid": 1382528827416576,
  "callback_url": "http://xxxx.com/deposit/callback",
  "chain_id": "60",
  "alias": "cc",
  "number": 10,
  "nonce": "ubqso3",
  "timestamp": 1687850657960,
  "sign": "f5be13fdd8c6f63951ca4427359457cb"
}

返回

返回结果

名称类型描述
codestring返回码
msgstring返回信息
dataArray返回数据

返回数据 data 对象

名称类型描述
addressstring地址
返回示例
{
  "code": "00000",
  "msg": "ok",
  "data": [
    {
        "address": "THnZQewzSD8XdxHaWZWcYaJuEhdGHexuSn"
    },
    {
        "address": "TPS1VmkkEFgjJyFCiSkk8eSHJBNi69WYCR"
    },
    {
        "address": "TUzVX6NSkgq7ZwznXdfDSp97B6mQW2e6T8"
    },
    {
        "address": "TK8an5omq7engcFWxj528tuNkZYA6rSd5h"
    },
    {
        "address": "TRiimhegJiHU2T7CQpg4xt3K6XU3WenRG7"
    },
    {
        "address": "TRXamqVuW5Csh3HvoiLcA4X9Vd2xmMH1Kj"
    },
    {
        "address": "TS6b9qG3qzTkjvbCN4uWbsmBDxXGks88YF"
    },
    {
        "address": "TSPpPCFSqrduYye5TmVe6soJC4SD7YWVhm"
    },
    {
        "address": "TLxRaUpZdi8BCM33AgbtEhxcxed82rwCK5"
    },
    {
        "address": "TYvJZxYzxUevySMECpJjgE46AHnps98NYh"
    }
  ]
}