Skip to content

Raene/Tonaira

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tonaira

This is the backed-api for Tonaira. This api has GoMod enabled, so please enable yours, it uses go 1.15. Below available routes are listed together with what they expect to receive and what data they give in return.

/api/v1/

{
     "data": {
        "CoinValue": coinValue,
        "ExchangeRate": xChangeRate
     }
    "message": "success"
    }
{
  "accountNumber": string,
 "bank":          string,
 "sender":        string(not required),
 "senderEmail":   string(not required),
 "amount":        int,
 "network":       string,
 }

it returns data in the JSON form, conflux hasnt gone public yet as at the time of building this, so it has no exchangeRate yet.

    {
    "data": {
        "address": string,
        "exchangeRate": float32
},
    "success": true
}

` http://localhost:3000/api/v1/blockchain:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •