wallets
Creates a new wallet for the user
POST
/
users
/
{userId}
/
wallets
Authorization
Path
Body
curl --request POST \
--url https://app.dynamicauth.com/api/v0/users/{userId}/wallets \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"chain": "ETH",
"publicWalletAddress": "0xbF394748301603f18d953C90F0b087CBEC0E1834",
"walletName": "An example name",
"walletProvider": "browserExtension"
}'
{
"chain": "ETH",
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"name": "An example name",
"properties": {
"isAuthenticatorAttached": true,
"turnkeyPrivateKeyId": "95b11417-f18f-457f-8804-68e361f9164f",
"turnkeySubOrganizationId": "95b11417-f18f-457f-8804-68e361f9164f"
},
"provider": "browserExtension",
"publicKey": "0xbF394748301603f18d953C90F0b087CBEC0E1834"
}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
userId
string
requiredUUID of the user
Body
application/json
chain
enum<string>
requiredAvailable options:
ETH
, EVM
, FLOW
, SOL
, ALGO
, STARK
, COSMOS
publicWalletAddress
string
requiredValid blockchain wallet address, must be an alphanumeric string without any special characters
walletName
string
requiredwalletProvider
enum<string>
requiredAvailable options:
browserExtension
, custodialService
, walletConnect
, qrCode
, deepLink
, embeddedWallet
, smartContractWallet
Response
201 - application/json
chain
enum<string>
requiredAvailable options:
ETH
, EVM
, FLOW
, SOL
, ALGO
, STARK
, COSMOS
id
string
requiredname
string
requiredproperties
object
provider
enum<string>
requiredAvailable options:
browserExtension
, custodialService
, walletConnect
, qrCode
, deepLink
, embeddedWallet
, smartContractWallet
publicKey
string
requiredValid blockchain wallet address, must be an alphanumeric string without any special characters
Was this page helpful?
curl --request POST \
--url https://app.dynamicauth.com/api/v0/users/{userId}/wallets \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"chain": "ETH",
"publicWalletAddress": "0xbF394748301603f18d953C90F0b087CBEC0E1834",
"walletName": "An example name",
"walletProvider": "browserExtension"
}'
{
"chain": "ETH",
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"name": "An example name",
"properties": {
"isAuthenticatorAttached": true,
"turnkeyPrivateKeyId": "95b11417-f18f-457f-8804-68e361f9164f",
"turnkeySubOrganizationId": "95b11417-f18f-457f-8804-68e361f9164f"
},
"provider": "browserExtension",
"publicKey": "0xbF394748301603f18d953C90F0b087CBEC0E1834"
}