cURL
curl --request GET \ --url https://api.jup.ag/trigger/v2/vault/register \ --header 'Authorization: Bearer <token>' \ --header 'x-api-key: <api-key>'
{ "userPubkey": "<string>", "vaultPubkey": "<string>", "privyVaultId": "<string>" }
Create a new Privy-managed vault wallet for your account. Call this once per wallet. Subsequent calls return the existing vault.
Get API key via https://portal.jup.ag
JWT token from the challenge-response auth flow
Vault created
Was this page helpful?