Create a wallet

How to create a new blockchain wallet.

Request Endpoint: reference

POST /api/wallets
ParameterParam TypeValueDescriptionExample Value
Signing-MethodHeaderid:valueid: This is the ID of the signing method
value: This is the value of the signing method
ParameterParam TypeDescriptionData TypeMandatory
secretTypeBodyThe blockchain on which to create the walletStringโœ…
userIdBodyThe ID of the user who you want to link this wallet toStringโŒ
pincode (Deprecated)BodyThe pin that will encrypt and decrypt the walletStringโŒ

Request Body:

  "secretType": "MATIC",
  "userId": "6a5a9020-e969-4d9a-ae4b-fcd91a75769d"

Response Body:


The wallet has been created an linked to the specified user (userId).

    "success": true,
    "result": {
        "id": "10f26e75-1f01-4c46-a2c1-551f886c6db6",
        "address": "0x1bC722F33E62019F1d9CBcc43531c81731023483",
        "walletType": "API_WALLET",
        "secretType": "MATIC",
        "createdAt": "2023-12-06T12:17:36.420854289",
        "archived": false,
        "description": "Self-driven Zebra",
        "primary": false,
        "hasCustomPin": false,
        "userId": "6a5a9020-e969-4d9a-ae4b-fcd91a75769d",
        "custodial": false,
        "balance": {
            "available": true,
            "secretType": "MATIC",
            "balance": 0,
            "gasBalance": 0,
            "symbol": "MATIC",
            "gasSymbol": "MATIC",
            "rawBalance": "0",
            "rawGasBalance": "0",
            "decimals": 18