Create client

/v4/wallets/clients

0 credits per API call

Creates a Smart Wallets client. A client represents one end user of your application and
owns the MPC key shares of that user's wallets.

The response contains the clientApiKey and the first clientSessionToken (CST). Both are
secrets scoped to this single client - deliver them to the end-user device over a channel you
control and never expose your Tatum x-api-key to that device.

Set isAccountAbstracted to true to make the client's EVM wallets account-abstracted
(ERC-4337 smart accounts, eligible for gas sponsorship). The flag cannot be changed later.
Account abstraction has to be enabled for the account first with
PUT /v4/wallets/enable-account-abstraction; until it is, a create with
isAccountAbstracted: true is rejected with 400 wallets.account.abstraction.not.enabled.
GET /v4/wallets/account tells whether it is enabled.

Smart Wallets calls are not charged per request. Usage is metered daily, per wallet held by
your clients and per signature performed, and billed in credits.

Paid plans may hold an unlimited number of clients. Free plans are capped; a request past
the cap is rejected with 403 wallets.custodian.client.limit.reached - upgrade the plan to have
the cap raised.

The first client create activates Smart Wallets for the account. While an activation is
running, a concurrent request is rejected with 409 wallets.custodian.onboarding.in.progress;
a failed activation returns 502 wallets.custodian.onboarding.failed - retry in about a minute.
When automatic activation is not available, the request is rejected with
403 wallets.custodian.self.service.unavailable; contact sales to enable Smart Wallets.

An account blocked for exceeded usage is rejected with 403 wallets.custodian.account.blocked,
and signing is disabled for its clients at the wallet provider. While an account is blocked,
listing and reading clients, creating client session tokens, enabling eject, reading
ejectable backup shares and GET /v4/wallets/account stay available so wallets can always
be ejected.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
boolean
Defaults to false

Create the client's EVM wallets as account-abstracted smart accounts (ERC-4337), which
makes them eligible for gas sponsorship. Cannot be changed after creation.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json