Alexis Hernandez
7 years ago
3 changed files with 31 additions and 5 deletions
@ -0,0 +1,14 @@ |
|||||
|
package com.xsn.explorer.models |
||||
|
|
||||
|
import play.api.libs.json.{Json, Writes} |
||||
|
|
||||
|
case class Statistics( |
||||
|
height: Height, |
||||
|
transactions: Int, |
||||
|
totalSupply: BigDecimal, |
||||
|
circulatingSupply: BigDecimal) |
||||
|
|
||||
|
object Statistics { |
||||
|
|
||||
|
implicit val writes: Writes[Statistics] = Json.writes[Statistics] |
||||
|
} |
Loading…
Reference in new issue