Create a wallet

How to create a new blockchain wallet.

Request Endpoint: reference

POST /api/wallets
ParameterParam TypeValueDescription
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โœ…
pincode (Deprecated)BodyThe pin that will encrypt and decrypt the walletStringโŒ

Request Body:

  "secretType": "MATIC"

Response Body:

    "success": true,
    "result": {
        "id": "666fc6fa-6b94-478c-b40a-4e583e1da107",
        "address": "0xad1841b16eBA391B35df48Cc885ecfEe53918Fb2",
        "walletType": "API_WALLET",
        "secretType": "MATIC",
        "createdAt": "2023-11-16T15:30:12.776027699",
        "archived": false,
        "description": "Delightful Sable",
        "primary": false,
        "hasCustomPin": true,
        "custodial": false,
        "balance": {
            "available": true,
            "secretType": "MATIC",
            "balance": 0,
            "gasBalance": 0,
            "symbol": "MATIC",
            "gasSymbol": "MATIC",
            "rawBalance": "0",
            "rawGasBalance": "0",
            "decimals": 18