Create Wallet
Creates a new wallet of specified type. If called with an idempotency key or for a user who already has a wallet, returns existing wallet. When linkedUser is provided, subsequent calls with the same linkedUser will return the existing wallet. Supports both custodial and non-custodial wallet types.
API scope required: wallets.create
Headers
API key required for authentication
Unique key to prevent duplicate wallet creation
Body
EVM smart wallet creation input
evm-smart-wallet
A user locator can be of the format:
email:<email>
userId:<userId>
phoneNumber:<phoneNumber>
twitter:<handle>
x:<handle>
[
"email:user@example.com",
"userId:507f1f77bcf86cd799439011",
"userId:did:example:cm4lr5piw0h6t1bjho0onryql",
"phoneNumber:+12125551234",
"twitter:johndoe",
"x:@johndoe"
]
Response
Complete wallet configuration including type-specific settings
The type of wallet configuration
evm-smart-wallet
EVM smart wallet type specific configuration settings
The onchain address of the wallet
"0x1234567890123456789012345678901234567890"
The user that is linked to this wallet in format <locatorType>:<value>
"email:test@test.com"
ISO timestamp of when the wallet was created
"2024-01-01T00:00:00.000Z"
Was this page helpful?