Create Address
status: stable
⚠️ This endpoint is available for random
wallets only. Any
attempt to call this endpoint on another type of wallet will result in
a 403 Forbidden
error from the server.
POST
/byron-wallets/{walletId}/addresses
curl \
--request POST 'https://localhost:8090/v2/byron-wallets/{walletId}/addresses' \
--header "Content-Type: application/json" \
--data '{"passphrase":"Secure Passphrase","address_index":42.0}'
Request examples
{
"passphrase": "Secure Passphrase",
"address_index": 42.0
}
Response examples (415)
{
"message": "string",
"code": "an_error_code"
}
Response examples (406)
{
"message": "string",
"code": "not_acceptable"
}
Response examples (403)
{
"message": "string",
"code": "an_error_code"
}
Response examples (400)
{
"message": "string",
"code": "bad_request"
}
Response examples (201)
{
"id": "addr1sjck9mdmfyhzvjhydcjllgj9vjvl522w0573ncustrrr2rg7h9azg4cyqd36yyd48t5ut72hgld0fg2xfvz82xgwh7wal6g2xt8n996s3xvu5g",
"state": "used",
"derivation_path": [
"1852H"
]
}