|
|
|
# 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 /transactions/:txid/raw controllers.TransactionsController.getRawTransaction(txid: String)
|
|
|
|
POST /transactions controllers.TransactionsController.sendRawTransaction()
|
|
|
|
|
|
|
|
GET /addresses/:address controllers.AddressesController.getDetails(address: String)
|
|
|
|
GET /addresses/:address/transactions controllers.AddressesController.getTransactions(address: String, offset: Int ?= 0, limit: Int ?= 10)
|
|
|
|
GET /addresses/:address/utxos controllers.AddressesController.getUnspentOutputs(address: String)
|
|
|
|
|
|
|
|
GET /blocks controllers.BlocksController.getLatestBlocks()
|
|
|
|
GET /blocks/:query controllers.BlocksController.getDetails(query: String)
|
|
|
|
GET /blocks/:query/raw controllers.BlocksController.getRawBlock(query: String)
|
|
|
|
|
|
|
|
GET /stats controllers.StatisticsController.getStatus()
|
|
|
|
|
|
|
|
GET /balances controllers.BalancesController.get(offset: Int ?= 0, limit: Int ?= 10, orderBy: String ?= "")
|
|
|
|
|
|
|
|
GET /masternodes controllers.MasternodesController.get(offset: Int ?= 0, limit: Int ?= 10, orderBy: String ?= "")
|
|
|
|
GET /masternodes/:ip controllers.MasternodesController.getBy(ip: String)
|