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.
19 lines
569 B
19 lines
569 B
package models
|
|
|
|
// TXHistory 存储个人交易
|
|
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
|
|
}
|
|
|