Ethereum: Multi-currency wallet api

Ethereum Multi-Currency Wallet API Documentation

Introduction

This is an open-sorce api documentation for the multi-currency wretching system Bilt Surt of Ethereum Smart Contacts. API Allows Develope Pers to Generate and Manage Multiple Currencies, Create Walls, Send/Receive Funds, and performing various transactions.

API OVERVIEW

The following endpoints are awailable in this api:

* Generate Adddress : Generate a New Address for Specific Currency.

* Get Address : Get the Address Associated with a speci ol Wall.

Send Funds

Ethereum: Multi-currency wallet api

:

* Receive Funds : the receive funds will be bed.

* Wallets : list all towels in the system, including their donations and balances.

GENERATE ADDRESS

The GenerateAddress' Endpoint Generate a New Deviation is a speci — Ed Currency. The address is generated using of Ethereum's public key and a hash value based to be transferred.

Endopint: /API/V1/Addresses/Generate

* Request body :{” currency “:” in dogecoin “}

* Response :{” Address “:

Get Address

The getaddress' endpoint retrieves the address associated with specimen wall.

Endopint: /api/v1/wallets/wallidid}/address`spare

* Request Body :{” Wallid “:” Wallet-12345 “}

* Response :{” Address “:

Send Funds

The Sásdfunds endpoints will be able to do this. The amont to be transferred is specified in the request body.

Endpoint:

/API/V1/WALLETS/WALLID}/Addresses/{FromAddresss}/transactions/{Towadress}

* Request Body : {" Amont ": 10," Fromaddress ":

* Response :{” TransactionHash “:” TX-123456

Receive Funds

The Receivefunds Endpoint receives funds off-to-dress. The amont to be received is speci- ed in the request body.

Endpoint: /apo/v1/Wallets/Wallid}/Addresses/{fromAddresss}/transactions/

* Request Body : {" Amont ": 10," Fromaddress ":

* Response :{” TransactionHash “:” TX-123456

Wallets

The Wallets Endpoint list all walls in the system, including their attachment and balances.

Endpoint: /api/v1/wallets

* Request Body : {} (No Parameters)

* Response : [{" Adddress ":

Example Use Cases

Here's an example off howGenerAdaddressEndpoint:

Javacript

Const axios = Require ('axios');

Const Ethereumapi = Require ('./ Ethereumapi');

Const API = New Ethereumapi ();

Async Function in which () {

Const generateAddressPonse = Await api.generateAddresss ({

Currency: 'Dogecoin',

});

console.log (GenerateAddressponse.address);

// Use the Genes Will

Const SentfundSresponse = Await api.sendfunds ({

Amont: 10,

FROMUSLY: GENERATE

Towadress:

});

}

in what ();

re

System that can be extended and customized according to have your application. This API into your production environment.

API Documentation

Endpoints

  • Post/API/V1/Address/Generate: Generate a Newaddress for Specifies Currency.

.

  • Post/API/V1/Wallets/{Walletid}/Addresses/FromAddresss}/Transctions/{Toydresss}`:

ETHEREUM STRATEGIES HIGH MARKETPLACE


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *