We refreshed our doc site!

Bookmarked links may have changed

Read release notes

createUserWallet

Web3 Services
Compliance Engine

Create wallets

POSThttps://api.circle.com/v1/w3s/user/wallets

Generates a challenge for creating a new user-controlled wallet or batch of wallets, specifying blockchain and wallet name.

Header parameters
X-User-Token
string
Required

Unique system generated JWT session token for specific user.

Body parameters
blockchains
array
Required

Blockchain(s) the requested wallets will be created on.

idempotencyKey
uuid
Required

Universally unique identifier (UUID v4) idempotency key. This key is utilized to ensure exactly-once execution of mutating requests. To create a UUIDv4 go to uuidgenerator.net. If the same key is reused, it will be treated as the same request and the original response will be returned.

accountType
string

An account can be a Smart Contract Account (SCA) or an Externally Owned Account (EOA). To learn more, see the account types guide.

If an account type is not specified during the creation of a wallet, it defaults to EOA (Externally Owned Account). Note that Solana doesn't support Smart Contract Account (SCA).

metadata
array

List of metadata fields to associate with the corresponding wallet.

Response
RequestChoose a language
ResponseChoose an example
1{
2  "data": {
3    "challengeId": "c4d1da72-111e-4d52-bdbf-2e74a2d803d5"
4  }
5}
Did this page help you?
© 2023-2024 Circle Technology Services, LLC. All rights reserved.