This project is a backend API built in Node.js for Ethereum exploration. It provides three APIs to interact with Ethereum:
-
Get Ethereum Price
- API endpoint:
[/ethereum/price]
Access here. - Method:
GET
- Description: Retrieves the current price of Ethereum.
- API endpoint:
-
Check Balance of Given Address
- API endpoint:
[/ethereum/balance/:address]
Access here. - Method:
GET
- Description: Retrieves the balance of the provided Ethereum address.
- API endpoint:
-
Get Transactions of Given Address
- API endpoint:
[/ethereum/transactions/:address]
Access here. - Method:
GET
- Description: Retrieves the transactions associated with the provided Ethereum address.
- API endpoint:
- Node.js: Backend JavaScript runtime environment.
- Express: Web application framework for Node.js.
- Axios: Promise-based HTTP client for making HTTP requests.
- Node: Backend JavaScript runtime environment.
- Express: Fast, unopinionated, minimalist web framework for Node.js.
- Axios: Promise based HTTP client for the browser and node.js.
- Clone the repository to your local machine.
git clone https://github.com/vivekyadav5750/ethereum-backend-api.git
- Install dependencies using npm.
cd ethereum-backend-api npm install
- Run the server
node app.js
Access the APIs using the provided endpoints.
You can find a live demo of the Ethereum Explorer frontend using this backend API at https://ethereum-frontend-react.onrender.com/.
Contributions are welcome! If you find any issues or would like to contribute enhancements, please feel free to open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.