Embedded Wallets

Get the public key for a derivation path

Gets the public key information based on derivation path and signing algorithm within a Non-Custodial Wallet

get/ncw/wallets/{walletId}/public_key_info

Request

Path parameters

walletIdstring required
Example:550e8400-e29b-41d4-a716-446655440000

The ID of the Non-Custodial wallet

Query parameters

derivationPathstring required

An array of integers (passed as JSON stringified array) representing the full BIP44 derivation path of the requested public key. The first element must always be 44.

algorithm'MPC_ECDSA_SECP256K1' | 'MPC_EDDSA_ED25519' required
Example:MPC_EDDSA_ED25519

Elliptic Curve

compressedboolean
Example:true

Compressed/Uncompressed public key format

Headers

X-End-User-Wallet-Idstring uuid required

Unique ID of the End-User wallet to the API request. Required for end-user wallet operations.

Response

Public key information

algorithm'MPC_ECDSA_SECP256K1' | 'MPC_EDDSA_ED25519'

Elliptic Curve

derivationPathinteger[]

BIP44 derivation path

publicKeystring

Compressed/Uncompressed public key value in hex representation

Example response

{
  "derivationPath": [
    44,
    0,
    0,
    0,
    0
  ],
  "publicKey": "1044c36403c1802818b472398f546a43a0d91569d5583a6e807c3825b155c7bd"
}

Changes

No recorded changes to this operation across all 1 revision of this API.