2
0
mirror of https://github.com/edouardparis/lntop synced 2024-11-09 19:11:05 +00:00
lntop/network/models/transaction.go

23 lines
575 B
Go
Raw Normal View History

package models
import "time"
type Transaction struct {
// / The transaction hash
TxHash string
// / The transaction amount, denominated in satoshis
Amount int64
// / The number of confirmations
NumConfirmations int32
// / The hash of the block this transaction was included in
BlockHash string
// / The height of the block this transaction was included in
BlockHeight int32
// / Timestamp of this transaction
Date time.Time
// / Fees paid for this transaction
TotalFees int64
// / Addresses that received funds for this transaction
DestAddresses []string
}