SDK Explorer

Generates a new developer-controlled wallet or batch of wallets within a wallet set, specifying blockchain and wallet name.

Parameters
input
object
Required

Represents the input for creating multiple wallets.

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).

Allowed valuesEOASCA
blockchains
array of strings
Required

The blockchains for which to create wallets.

Allowed valuesARBARB-SEPOLIAAVAXAVAX-FUJIBASEBASE-SEPOLIAETHETH-SEPOLIAEVMEVM-TESTNETMATICMATIC-AMOYNEARNEAR-TESTNETOPOP-SEPOLIASOLSOL-DEVNETUNIUNI-SEPOLIA
count
number
Required

The number of wallets to create for each selected blockchain. This count will be multiplied by the number of selected blockchains. For example, with count=2 and blockchains.length=2, it will create a total of 4 new wallets.

metadata
array of objects

Optional list of metadata fields to associate with the corresponding wallet. If count is specified, the amount of items in the array should match the count field.

name
string

Name or description associated with the wallet or walletSet.

refId
string

Reference or description used to identify the object.

walletSetId
string
Required

The ID of the wallet set for which to create the wallets.

idempotencyKey
string

The optional idempotency key. An idempotency key is a unique identifier used to identify and handle duplicate requests in order to ensure idempotent behavior, where multiple identical requests have the same effect as a single request.

We will generate one if you do not provide it.

Responses
Example
1const response = await client.createWallets({
2  blockchains: ["MATIC-AMOY"],
3  count: 1,
4  walletSetId: "67eb6eac-a7f5-4c04-9200-2fbf969426b0",
5})
6console.log(response.data?.wallets)
ResponseChoose an example
1{
2  "data": {
3    "wallets": [
4      {
5        "id": "c4d1da72-111e-4d52-bdbf-2e74a2d803d5",
6        "address": "0xca9142d0b9804ef5e239d3bc1c7aa0d1c74e7350",
7        "blockchain": "MATIC-AMOY",
8        "createDate": "2023-01-01T12:04:05Z",
9        "updateDate": "2023-01-01T12:04:05Z",
10        "custodyType": "DEVELOPER",
11        "name": "",
12        "refId": "custom_ref_id",
13        "state": "LIVE",
14        "userId": "ext_user_id_1",
15        "walletSetId": "c4d1da72-111e-4d52-bdbf-2e74a2d803d5",
16        "initialPublicKey": "3eQoJ3ex6uWX3R8F1THF6Y6oBQwPYpF1X9HBM1gjqw7w",
17        "accountType": "EOA"
18      }
19    ]
20  }
21}
Did this page help you?
© 2023-2025 Circle Technology Services, LLC. All rights reserved.