Global-Connect

API Documentation for Pi Coin Application

Overview

This documentation provides an overview of the API endpoints available in the Pi Coin application, which is built on the Stellar network. The API allows users to create assets, issue PiCoins, transfer coins, and check balances.

Base URL

The base URL for the API is:

http://localhost:3000/api

Endpoints

1. Create Asset

Request

Response

2. Issue PiCoins

Request

Response

3. Transfer PiCoins

Request

Response

4. Get Balance

Request

Response

Error Handling

In case of an error, the API will return a response with a status code indicating the type of error and a message describing the issue.

Example Error Response

Conclusion

This API documentation provides a comprehensive overview of the available endpoints for the Pi Coin application. For further assistance, please refer to the codebase or contact the development team.