These docs are for v1.9. Click to read the latest docs for v2.1.

Create Wallet

Before you begin

Create a wallet for your brand-new customers.

Let's start πŸš€

To instantiate a new wallet, use https://custody.arianee.com/{{client}}/{{network}}/wallet/create.

InputMandatoryTypeDescription
providerβœ…StringYour custodial provider.
Today, supported providers are:
- arianee-custodial
- dfns

Example:

{
    "provider": "dfns"
}

Result:

httpCodeDescription
200Wallet is created, the address is returned.
For dfns, walletId is also returned.
400Provider is not supported.
409 The user already has a wallet.
{
    "address": "0x52d8ad9b283b45e52fa6e0f3967b927e59508a9d",
    "walletId": "wa-7n54f-hicck-83t8l7etk1f1mr42"
}
{
    "address": "0xC8Dac970c21230b9e6633AD38FB4297800B93E77"
}
{
    "name": "API Error",
    "code": "CUSTODY_GATEWAY.WRONG_PROVIDER",
    "description": "Wrong provider value : 'arianee-custodial' for this client ",
    "httpCode": 400
}
{
    "name": "API Error",
    "code": "CUSTODY_GATEWAY.USER_ALREADY_HAVE_A_WALLET",
    "description": "This user already have a wallet",
    "httpCode": 409
}