Get Account Public Key

GET /shared-wallets/{walletId}/keys

status: stable

Retrieve the account public key of this shared wallet.

To get an extended public key, instead of the public key, use query parameter format=extended. For non-extended public key use format=non_extended or omit query parameter.

Path parameters

  • walletId string(hex) Required

    Minimum length is 40, maximum length is 40.

Responses

  • 406 application/json

    Not Acceptable

    Hide response attributes Show response attributes object
    • message string Required

      May occur when providing an invalid 'Accept' header.

    • code string Required

      Value is not_acceptable.

  • 404 application/json

    Not Found

    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.

  • 200 application/json

    Ok

    Format should match the following pattern: ^((acct_shared_xvk)|(acct_shared_vk))1[0-9a-z]*$.

GET /shared-wallets/{walletId}/keys
curl \
 --request GET https://localhost:8090/v2/shared-wallets/{walletId}/keys
Response examples (406)
{
  "message": "string",
  "code": "not_acceptable"
}
Response examples (404)
{
  "message": "string",
  "code": "an_error_code"
}
Response examples (400)
{
  "message": "string",
  "code": "bad_request"
}
Response examples (200)
string