Files
bitcoin-ticker-pi/mempool/models.go
T

30 lines
610 B
Go

package mempool
type Message struct {
Block *Block `json:"block"`
Conversions *Conversions `json:"conversions"`
Fees *Fees `json:"fees"`
}
type Block struct {
Height int64 `json:"height"`
}
type Conversions struct {
USD int `json:"USD"`
EUR int `json:"EUR"`
GBP int `json:"GBP"`
CAD int `json:"CAD"`
CHF int `json:"CHF"`
AUD int `json:"AUD"`
JPY int `json:"JPY"`
}
type Fees struct {
FastestFee int `json:"fastestFee"`
HalfHourFee int `json:"halfHourFee"`
HourFee int `json:"hourFee"`
EconomyFee int `json:"economyFee"`
MinimumFee int `json:"minimumFee"`
}