Alexis Hernandez
6 years ago
2 changed files with 31 additions and 0 deletions
@ -0,0 +1,23 @@ |
|||
# Routes |
|||
# This file defines all application routes (Higher priority routes first) |
|||
# https://www.playframework.com/documentation/latest/ScalaRouting |
|||
# ~~~~ |
|||
|
|||
GET /health controllers.HealthController.check() |
|||
# GET /maintenance controllers.MaintenanceController.run(query: String ?= "") |
|||
|
|||
GET /transactions/:txid controllers.TransactionsController.getTransaction(txid: String) |
|||
GET /transactions/:txid/raw controllers.TransactionsController.getRawTransaction(txid: String) |
|||
POST /transactions controllers.TransactionsController.sendRawTransaction() |
|||
|
|||
GET /addresses/:address controllers.AddressesController.getBy(address: String) |
|||
GET /v2/addresses/:address/transactions controllers.AddressesController.getLightWalletTransactions(address: String, limit: Int ?= 10, lastSeenTxid: Option[String], order: String ?= "desc") |
|||
|
|||
GET /blocks controllers.BlocksController.getLatestBlocks() |
|||
GET /blocks/:query controllers.BlocksController.getDetails(query: String) |
|||
GET /blocks/:query/raw controllers.BlocksController.getRawBlock(query: String) |
|||
GET /v2/blocks/:blockhash/transactions controllers.BlocksController.getTransactionsV2(blockhash: String, limit: Int ?= 10, lastSeenTxid: Option[String]) |
|||
|
|||
GET /stats controllers.StatisticsController.getStatus() |
|||
|
|||
GET /v2/balances controllers.BalancesController.getHighest(limit: Int ?= 10, lastSeenAddress: Option[String]) |
Loading…
Reference in new issue