Generates a challenge for creating a new user-controlled wallet.
Represents the input parameters for creating multiple wallets.
Unique system-generated identifier for the user.
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).
The blockchains for which to create wallets.
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 or description associated with the wallet or walletSet.
Reference or description used to identify the object.
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.
The JSON Web Token (JWT) representing the user.
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).
The blockchains for which to create wallets.
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 or description associated with the wallet or walletSet.
Reference or description used to identify the object.
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.
1const response = await client.createWallet({
2 userToken: 'dummy-user-token',
3 blockchains: ['ETH'],
4})
5console.log(response.data?.challengeId)
1{
2 "data": {
3 "challengeId": "c4d1da72-111e-4d52-bdbf-2e74a2d803d5"
4 }
5}