mirror of
https://github.com/edouardparis/lntop
synced 2024-11-09 19:11:05 +00:00
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
|
||
|
}
|