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.
 
 
 
 

37 lines
540 B

package main
type TxModel struct {
Txid string
From string
To string
Amount float64
}
type BlockModel struct {
Hash string
Height int64
Confirmations uint64
Amount float64
Fee float64
Tx []TxModel
}
type NodeModel struct {
Id string
Label string
Title string
Group string
Value int
Shape string
}
type EdgeModel struct {
Txid string
From string
To string
Label float64
Arrows string
}
type NetworkModel struct {
Nodes []NodeModel
Edges []EdgeModel
}