Skip to main content
A User represents an application-specific identity within your workspace. Creating a user allows you to generate chain-specific wallet addresses, query balances, and track activity metrics scoped directly to that individual entity.

Prerequisites

Before you begin, ensure that you have: An active API key with the necessary write permissions configured for the target environment (Sandbox or Live).

The Plan

We’ll go through:
  1. Creating a User via the API: Provision a user record scoped to your workspace.
  2. Linking Wallets to Users: Associate chain-specific wallets directly with your userId.
  3. Fetching User Wallets: Retrieve all blockchain wallet instances associated with the user.
  4. Fetching User Balances: View real-time asset holdings across the user’s wallets.
  5. Checking User Stats: Retrieve operational activity metrics for the user.

Step 1: Create a User via the API

To provision a user identity in your application account, execute a POST request to the /v2/users endpoint.

Request Payload Fields

  • email (string, optional): The user’s primary email address.
  • displayName (string, optional): Human-readable display label for the user.
  • refId (string, optional): External client reference ID to map back to your application database.

Sample Response

Step 2. 💡 Linking Wallets to Users

Creating a user automatically establishes an identity context within your application account. Once created, you can deploy or link chain-specific smart wallets directly to this userId. For complete details on wallet provisioning, see the Create and Manage Wallets Guide.

Step 3: Fetch User Wallets

Once a user is created, retrieve all deployed wallet addresses across supported blockchain networks using the GET endpoint /v2/users/{userId}/wallets

Sample Response

Step 4: Fetch User Balances

To inspect the real-time token and native balances across a user’s wallets, query the balances endpoint.

Sample Response

Step 5: Fetch User Stats

You can retrieve aggregated activity statistics (such as total deposits, withdrawals, and 30-day transaction volume) for reporting or risk monitoring purposes.

Sample Response

Next Steps