Documentation
¶
Index ¶
Constants ¶
View Source
const (
API_URL = "https://mempool.space/api/v1/"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MempoolBlock ¶ added in v0.1.0
type MempoolBlock struct { BlockSize int `json:"blockSize"` BlockWeight float64 `json:"blockVSize"` NTx int `json:"nTx"` MinWeigthFee float64 `json:"minWeigthFee"` MaxWeigthFee float64 `json:"maxWeigthFee"` MedianFee float64 `json:"medianFee"` FeeRange []float64 `json:"feeRange"` HasMyTx bool `json:"hasMytx"` }
type MempoolInfo ¶
type Response ¶
type Response struct { MempoolInfo *MempoolInfo `json:"mempoolInfo"` Block *Block `json:"block"` Blocks []Block `json:"blocks"` MempoolBlocks []MempoolBlock `json:"mempool-blocks"` TrackTx TrackTx `json:"track-tx"` TxPerSecond float64 `json:"txPerSecond"` VBytesPerSecond int `json:"vBytesPerSecond"` Conversions struct { BTC float64 `json:"BTC"` USD float64 `json:"USD"` } `json:"conversions"` }
Click to show internal directories.
Click to hide internal directories.