Skip to main content
POST
cURL
Creates a new wallet for a user. The wallet address must be valid for the specified virtual machine type (EVM or SVM).

Important Notes

  • Wallet address validation is performed based on the vmType. An EVM address cannot be used with SVM, and vice versa.

Error Codes

These are the errors this endpoint returns most often. Branch on code, not message, and handle codes you don’t recognize by their HTTP status. See Error Codes for the complete list.

Common Errors

User Ownership Errors

Endpoint-Specific Errors

Authorizations

partner-api-key
string
header
required

API key for the affiliated partner performing the request.

Path Parameters

userId
string
required

The userId of the user

Example:

"8374f327-38bd-4b0b-b8a7-2524599eb903"

Body

application/json
vmType
enum<string>
required

The virtual machine type for the wallet

Available options:
EVM,
SVM,
TVM
Example:

"EVM"

walletAddress
string
required

The wallet address

Example:

"0x71C7656EC7ab88b098defB751B7401B5f6d8976F"

alias
string
required

The alias name for the wallet

Response

Creates a new wallet for a user

success
boolean
Example:

true

data
object