mirror of https://github.com/edouardparis/lntop
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
575 B
Go
23 lines
575 B
Go
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
|
|
}
|