List User Wallets
Get all wallets associated with the authenticated user. Endpoint:GET /wallets
Request
| Header | Description |
|---|---|
Authorization: Bearer {token} | User’s session token acquired from authentication |
- 200
- 401
- 500
Returns WalletsNo Wallets
Create Wallet
Create a new wallet for the authenticated user. Endpoint:POST /wallets
Request
| Header | Description |
|---|---|
Authorization: Bearer {token} | User’s session token acquired from authentication |
| Body | Description |
|---|---|
name: string | Display name for the wallet |
type: string | Network type of wallet; "ethereum" | "solana" |
- 200
- 400
- 401
- 500
Success Wallet Create
Import Wallet
Import an existing wallet using a private key. Endpoint:POST /wallets/import
Request
| Header | Description |
|---|---|
Authorization: Bearer {token} | User’s session token acquired from authentication |
| Body | Description |
|---|---|
privateKey: string | Private key of the wallet to be imported |
name: string | Assign a name to this wallet |
type: string | Network type of wallet; "ethereum" | "solana" |
- 200
- 400
- 401
- 500
Success Wallet Import