Create custodial wallet
Changed onCreate a new wallet custodied by a third-party provider.
Request
- Base URLhttps://api.privy.io
- URLhttps://api.privy.io/v1/custodial_wallets
- AuthHTTP basic
Headers
ID of your Privy app.
Idempotency keys ensure API requests are executed only once within a 24-hour window.
Request body
Example request
{
"chain": "tempo",
"provider": "bridge",
"provider_user_id": "1234567890"
}Response
Newly created custodial wallet.
Example response
{
"id": "id2tptkqrxd39qo9j423etij",
"address": "0xB00F0759DbeeF5E543Cc3E3B07A6442F5f3928a2",
"chain": "tempo",
"chain_type": "ethereum",
"custody": {
"provider": "bridge",
"provider_user_id": "1234567890"
},
"policy_ids": [],
"additional_signers": [],
"owner_id": null
}Changes
- breaking
added the new required request property
- breaking
the response property
became optional for the status - breaking
the
response's property type changed fromstringto no type for status - warning
removed the request property
- info
added
subschema #2to theresponse propertyallOflist for the response status - info
removed the
ethereumenum value from theresponse property for the response status - info
removed the
solanaenum value from theresponse property for the response status - info
added the required property
to the response with the status
- breaking
- info
removed
subschema #2from theresponse propertyallOflist for the response status - info
added
subschema #2to theresponse propertyanyOflist for the response status
- info