You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
755 B
17 lines
755 B
# Routes
|
|
# This file defines all application routes (Higher priority routes first)
|
|
# https://www.playframework.com/documentation/latest/ScalaRouting
|
|
# ~~~~
|
|
|
|
GET /health controllers.HealthController.check()
|
|
|
|
GET /transactions/:txid controllers.TransactionsController.getTransaction(txid: String)
|
|
|
|
GET /addresses/:address controllers.AddressesController.getDetails(address: String)
|
|
|
|
GET /blocks controllers.BlocksController.getLatestBlocks()
|
|
GET /blocks/:blockhash controllers.BlocksController.getDetails(blockhash: String)
|
|
|
|
GET /stats controllers.StatisticsController.getStatus()
|
|
|
|
GET /balances controllers.BalancesController.getRichest(offset: Int ?= 0, limit: Int ?= 10)
|
|
|