Create a wallet
How to create a new blockchain wallet.
Request Endpoint: reference
POST /api/wallets
Parameter | Param Type | Value | Description |
---|---|---|---|
Signing-Method | Header | id:value | id : This is the ID of the signing methodvalue : This is the value of the signing method |
Parameter | Param Type | Description | Data Type | Mandatory |
---|---|---|---|---|
secretType | Body | The blockchain on which to create the wallet | String | ✅ |
pincode (Deprecated) | Body | The pin that will encrypt and decrypt the wallet | String | ❌ |
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
}
}
}
Updated 3 days ago