Import Address

PUT /byron-wallets/{walletId}/addresses/{addressId}

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.

Path parameters

  • walletId string(hex) Required

    Minimum length is 40, maximum length is 40.

  • addressId string(base58) Required

Responses

  • 403 application/json

    Forbidden

    Hide response attributes Show response attributes object
    • message string Required

      A descriptive error message.

    • code string Required

      A specific error code for this error, more precise than HTTP ones.

  • 400 application/json

    Bad Request

    Hide response attributes Show response attributes object
    • message string Required

      May occur when a request is not well-formed; that is, it fails to parse successfully. This could be the case when some required parameters are missing or, when malformed values are provided.

    • code string Required

      Value is bad_request.

  • No Content

PUT /byron-wallets/{walletId}/addresses/{addressId}
curl \
 --request PUT https://localhost:8090/v2/byron-wallets/{walletId}/addresses/DdzFFzCqrhtCNjPk5Lei7E1FxnoqMoAYtJ8VjAWbFmDb614nNBWBwv3kt6QHJa59cGezzf6piMWsbK7sWRB5sv325QqWdRuusMqqLdMt
Response examples (403)
{
  "message": "string",
  "code": "an_error_code"
}
Response examples (400)
{
  "message": "string",
  "code": "bad_request"
}