forked from go/golangs_learn
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.
20 lines
582 B
20 lines
582 B
3 years ago
|
package models
|
||
|
|
||
|
// TXHistory stores inidividual transactions
|
||
|
type TXHistory struct {
|
||
|
ID uint `json:"id"`
|
||
|
Alias string `json:"alias"`
|
||
|
Amount int64 `json:"amount"`
|
||
|
Sender string `json:"sender"`
|
||
|
Receiver string `json:"receiver"`
|
||
|
Fee int64 `json:"fee"`
|
||
|
Hash string `json:"hash"`
|
||
|
LastTransactionRef struct {
|
||
|
Hash string `json:"prevHash"`
|
||
|
Ordinal int `json:"ordinal"`
|
||
|
} `json:"lastTransactionRef"`
|
||
|
TS string `json:"date"`
|
||
|
Status string `json:"status"`
|
||
|
Failed bool
|
||
|
}
|