Wallet API

📋 Table of Contents

Overview

The Wallet API provides comprehensive wallet management services for the OASIS ecosystem. It handles wallet creation, management, transactions, and analytics with support for multiple cryptocurrencies, real-time updates, and advanced security features.

Wallet Management

Get All Wallets

GET /api/wallet
Authorization: Bearer YOUR_TOKEN

Query Parameters:

  • limit (int, optional): Number of results (default: 50)

  • offset (int, optional): Number to skip (default: 0)

  • type (string, optional): Filter by type (Hot, Cold, Hardware, Paper)

  • status (string, optional): Filter by status (Active, Inactive, Suspended, Closed)

  • currency (string, optional): Filter by currency (BTC, ETH, SOL, USDC)

  • sortBy (string, optional): Sort field (name, createdAt, balance, lastActivity)

  • sortOrder (string, optional): Sort order (asc/desc, default: desc)

Response:

Get Wallet by ID

Parameters:

  • walletId (string): Wallet UUID

Response:

Create Wallet

Request Body:

Response:

Update Wallet

Parameters:

  • walletId (string): Wallet UUID

Request Body:

Delete Wallet

Parameters:

  • walletId (string): Wallet UUID

Wallet Operations

Get Wallet Balance

Parameters:

  • walletId (string): Wallet UUID

Response:

Send Transaction

Parameters:

  • walletId (string): Wallet UUID

Request Body:

Response:

Receive Transaction

Parameters:

  • walletId (string): Wallet UUID

Request Body:

Get Transaction History

Parameters:

  • walletId (string): Wallet UUID

Query Parameters:

  • limit (int, optional): Number of results (default: 50)

  • offset (int, optional): Number to skip (default: 0)

  • type (string, optional): Filter by type (Sent, Received, Internal)

  • status (string, optional): Filter by status (Pending, Confirmed, Failed)

  • startDate (string, optional): Start date (ISO 8601)

  • endDate (string, optional): End date (ISO 8601)

Response:

Get Transaction by ID

Parameters:

  • walletId (string): Wallet UUID

  • transactionId (string): Transaction UUID

Response:

Wallet Analytics

Get Wallet Statistics

Parameters:

  • walletId (string): Wallet UUID

Response:

Get Wallet Performance

Parameters:

  • walletId (string): Wallet UUID

Response:

Get Wallet Health

Parameters:

  • walletId (string): Wallet UUID

Response:

Wallet Security

Get Wallet Security

Parameters:

  • walletId (string): Wallet UUID

Response:

Update Wallet Security

Parameters:

  • walletId (string): Wallet UUID

Request Body:

Error Responses

Wallet Not Found

Insufficient Balance

Invalid Address

Transaction Failed

Permission Denied


← Previous: Data API | Next: NFT API

Last updated