SDK Explorer

Retrieves a list of user-controlled wallets.

Parameters
input
object
Required

Represents the input for listing wallets.

option 1:
userId
string
Required

Unique system-generated identifier for the user.

address
string

The address of the wallet to filter by.

blockchain
string

The blockchain network that the resource is to be created on or is currently on.

Allowed valuesARBARB-SEPOLIAAVAXAVAX-FUJIBASEBASE-SEPOLIAETHETH-SEPOLIAEVMEVM-TESTNETMATICMATIC-AMOYNEARNEAR-TESTNETOPOP-SEPOLIASOLSOL-DEVNETUNIUNI-SEPOLIA
refId
string

Reference or description used to identify the wallet.

walletSetId
string

The ID of the wallet set to filter by.

from
string

Start time of the query, inclusive.

pageAfter
string

Used to return items after the specified item exclusively. SHOULD NOT be used in conjunction with pageBefore.

pageBefore
string

Used to return items before the specified item exclusively. SHOULD NOT be used in conjunction with pageAfter.

pageSize
number

The number of items to return.

to
string

End time of the query, inclusive. Defaults to the current time.

option 2:
userToken
string
Required

The JSON Web Token (JWT) representing the user.

address
string

The address of the wallet to filter by.

blockchain
string

The blockchain network that the resource is to be created on or is currently on.

Allowed valuesARBARB-SEPOLIAAVAXAVAX-FUJIBASEBASE-SEPOLIAETHETH-SEPOLIAEVMEVM-TESTNETMATICMATIC-AMOYNEARNEAR-TESTNETOPOP-SEPOLIASOLSOL-DEVNETUNIUNI-SEPOLIA
refId
string

Reference or description used to identify the wallet.

walletSetId
string

The ID of the wallet set to filter by.

from
string

Start time of the query, inclusive.

pageAfter
string

Used to return items after the specified item exclusively. SHOULD NOT be used in conjunction with pageBefore.

pageBefore
string

Used to return items before the specified item exclusively. SHOULD NOT be used in conjunction with pageAfter.

pageSize
number

The number of items to return.

to
string

End time of the query, inclusive. Defaults to the current time.

Responses
Example
1const response = await client.listWallets({
2  userToken: 'dummy-user-token',
3})
4console.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.