⚙️RESTful API

The Hemergy RESTful API allows developers to interact with the Hemergy platform through HTTP requests, enabling account and project management, as well as investment and divestment actions. The API provides an alternative to the Hemergy Core SDK, offering developers more flexibility when integrating with the platform.

Servers

Base URL: https://dev-core.hemergy.com/

API Documentation

The API documentation can be accessed using Swagger at the following URL:

https://dev-core.hemergy.com/docs

Endpoints

Authorize

Accounts

POST /accounts

Create a new account on the Hemergy platform.

POST /accounts/{id}/kyc

Submit KYC information for an account with the given ID.

POST /accounts/{id}/approve

Approve an account with the given ID.

BANK

POST /bank/mint

Mint tokens for a specified account.

Misc

GET /meta

Retrieve metadata for the Hemergy platform.

Projects

POST /projects

Create a new project on the Hemergy platform.

POST /projects/{id}/beneficiaries

Add beneficiaries to a project with the given ID.

POST /projects/{id}/invest

Invest in a project with the given ID.

POST /projects/{id}/divest

Divest from a project with the given ID.

Relayer

POST /relayer

Submit a signed transaction to the relayer for processing.

Conclusion

The Hemergy RESTful API provides developers with an alternative way to interact with the Hemergy platform, allowing for easy integration with various programming languages and platforms. By utilizing the API, developers can manage accounts, create renewable energy projects, and perform investment and divestment actions.

Last updated