latestOpenAPI 3.0.32026-08-20146131.7 MB
672b1916ba61
Wallets
Get wallet public key
Returns the persisted public key for an exact active walletId, or for the effective active custody target when walletId is omitted. Resolution is DB-backed only.
get/v1/wallets/public-key
Query parameters
walletIdstring
Provider wallet ID — the walletId field returned by GET /v1/wallets.
Example:privy_wallet_123
Provider wallet ID — the walletId field returned by GET /v1/wallets.
Headers
x-project-idstring
Selects the active project for this request. Required for session/dashboard callers. Ignored when authenticating with an API key, whose scope is fixed to the key's project.
Example:prj_example
Selects the active project for this request. Required for session/dashboard callers. Ignored when authenticating with an API key, whose scope is fixed to the key's project.
Response
Wallet public key
Example response
{
"publicKey": "So11111111111111111111111111111111111111112"
}