生成链地址
生成链地址
application/json
Request Body
requestId string required
业务唯一值
vaultId string required
金库id
walletId string required
钱包id
count integer
创建多少个。默认值为 1,最大值 50。
chainSymbol string required
链名称 简称 链标识 具有唯一性
encoding int
地址类型(1:LEGACY,2:SEGWIT_NATIVE,3:SEGWIT_NESTED,4:TAPROOT 不填默认为1:LEGACY)
Responses
- 200
successful operation
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
code integer
msg string
data object[]
id string
地址id
address string
链地址
hdPath string
地址对应的path
encoding integer
链地址 地址类型(1:LEGACY,2:SEGWIT_NATIVE,3:SEGWIT_NESTED,4:TAPROOT 不填默认为1:LEGACY)
pubkey string
公钥
success boolean
{
"code": 200,
"msg": "",
"data": [
{
"id": "11368",
"address": "0x4b1613e2501b770463a12e397b34d9cac0d9497c",
"hdPath": "m/1/1/60/0",
"encoding": 0,
"pubkey": "021855d461cf75ac6579d32a2af92d0dc26f0f0736ac766f8ad7894407ab360ffb"
}
],
"success": true
}
Loading...