Create Wallet
POSThttps://api.fuse.io/api/v1/smart-wallets/create
Authorization: http
name: bearerAuthtype: httpbearerFormat: JWTscheme: bearer
Create a smart wallet for the authenticated user
Request
Query Parameters
apiKey string
(Required) Your Public API key
Example: {{publicKey}}
- application/json
Body
- object
Responses
- 201
- 401
- 403
Created
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"connectionUrl": "ws://localhost:5007",
"transactionId": "0x06515e558ba48471b24096015ef763ae034ad933ddae1800a4e79459bd310ffb"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"statusCode": 401,
"errorMessage": {
"statusCode": 401,
"message": "Unauthorized"
},
"path": "/api/v1/smart-wallets/create?apiKey={{publicKey}}"
}
Forbidden
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"statusCode": 403,
"errorMessage": {
"statusCode": 403,
"message": "Forbidden resource",
"error": "Forbidden"
},
"path": "/api/v1/smart-wallets/create?apiKey={{publicKey}}"
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X POST 'https://api.fuse.io/api/v1/smart-wallets/create' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{}'
ResponseClear