Generate chain address
Generate chain address
application/json
Request Body
requestId string required
business unique value
vaultId string required
Vault id
walletId string required
wallet id
count integer
How many to create. Default value is 1, maximum value is 50.
chainSymbol string required
Chain name, abbreviation, chain identifier, unique
encoding int
Address type 1:LEGACY,2:SEGWIT_NATIVE,3:SEGWIT_NESTED,4:TAPROOT if left empty, default is 1:LEGACY)
Responses
- 200
successful operation
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
code integer
msg string
data object[]
id string
Address id
address string
Chain address
hdPath string
The path corresponding to the address
encoding integer
Chain address Address type 1:LEGACY,2:SEGWIT_NATIVE,3:SEGWIT_NESTED,4:TAPROOT
pubkey string
Public key
success boolean
{
"code": 200,
"msg": "",
"data": [
{
"id": "11368",
"address": "0x4b1613e2501b770463a12e397b34d9cac0d9497c",
"hdPath": "m/1/1/60/0",
"encoding": 0,
"pubkey": "021855d461cf75ac6579d32a2af92d0dc26f0f0736ac766f8ad7894407ab360ffb"
}
],
"success": true
}
Loading...