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.
33 lines
2.6 KiB
33 lines
2.6 KiB
# 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 /addresses/:address/transactions controllers.AddressesController.getTransactions(address: String, offset: Int ?= 0, limit: Int ?= 10, orderBy: String ?= "")
|
|
GET /v2/addresses/:address/transactions controllers.AddressesController.getLightWalletTransactions(address: String, limit: Int ?= 10, lastSeenTxid: Option[String], order: String ?= "desc")
|
|
GET /addresses/:address/utxos controllers.AddressesController.getUnspentOutputs(address: String)
|
|
|
|
GET /blocks controllers.BlocksController.getLatestBlocks()
|
|
GET /blocks/headers controllers.BlocksController.getBlockHeaders(lastSeenHash: Option[String], limit: Int ?= 10, order: String ?= "asc")
|
|
|
|
GET /blocks/:query controllers.BlocksController.getDetails(query: String)
|
|
GET /blocks/:query/raw controllers.BlocksController.getRawBlock(query: String)
|
|
GET /blocks/:blockhash/transactions controllers.BlocksController.getTransactions(blockhash: String, offset: Int ?= 0, limit: Int ?= 10, orderBy: String ?= "")
|
|
GET /v2/blocks/:blockhash/transactions controllers.BlocksController.getTransactionsV2(blockhash: String, limit: Int ?= 10, lastSeenTxid: Option[String])
|
|
GET /v2/blocks/:blockhash/light-wallet-transactions controllers.BlocksController.getLightTransactionsV2(blockhash: String, limit: Int ?= 10, lastSeenTxid: Option[String])
|
|
|
|
GET /stats controllers.StatisticsController.getStatus()
|
|
|
|
GET /balances controllers.BalancesController.get(offset: Int ?= 0, limit: Int ?= 10, orderBy: String ?= "")
|
|
GET /v2/balances controllers.BalancesController.getHighest(limit: Int ?= 10, lastSeenAddress: Option[String])
|
|
|
|
GET /masternodes controllers.MasternodesController.get(offset: Int ?= 0, limit: Int ?= 10, orderBy: String ?= "")
|
|
GET /masternodes/:ip controllers.MasternodesController.getBy(ip: String)
|
|
|