Browse Source
This is a part for #26, it allows to push a hex-encoded transaction to the network.prometheus-integration v2018.06.17
Alexis Hernandez
7 years ago
4 changed files with 28 additions and 2 deletions
@ -0,0 +1,10 @@ |
|||||
|
package com.xsn.explorer.models.request |
||||
|
|
||||
|
import play.api.libs.json.{Json, Reads} |
||||
|
|
||||
|
case class SendRawTransactionRequest(hex: String) |
||||
|
|
||||
|
object SendRawTransactionRequest { |
||||
|
|
||||
|
implicit val reads: Reads[SendRawTransactionRequest] = Json.reads[SendRawTransactionRequest] |
||||
|
} |
Loading…
Reference in new issue