Create an address based on the specified path
Create an address based on the specified derived path
application/json
Request Body
vaultId string required
Vault id
walletId string required
Wallet id
index string required
Used to distinguish different addresses under the same cointype of the same wallet
algorithmType integer required
Algorithm type (0: "ECDSA: secp256k1", 1: "EdDSA: ed25519")
coinType integer required
Refer to the coin type constants defined in slip-44 https://github.com/satoshilabs/slips/blob/master/slip-0044.md, using a non-hardened version. According to industry practice, for all eth-like public blockchains, Ethereum's coin type 60 can be used interchangeably.
Responses
- 200
successful operation
application/json
Schema
Example (from schema)
Schema
code integer
msg string
data object
Address information
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...