on_chain_tx

package
v0.8.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterOnChainTxsRoutes

func RegisterOnChainTxsRoutes(r *gin.RouterGroup, db *sqlx.DB)

Types

type Transaction

type Transaction struct {
	Date               time.Time      `json:"date" db:"date"`
	TxHash             string         `json:"tx_hash" db:"tx_hash"`
	DestAddresses      pq.StringArray `json:"dest_addresses" db:"dest_addresses"`
	DestAddressesCount string         `json:"dest_addresses_count" db:"dest_addresses_count"`
	AmountMsat         int64          `json:"amount" db:"amount"`
	TotalFeesMsat      int64          `json:"total_fees" db:"total_fees"`
	Label              *string        `json:"label" db:"label"`
	LndTxTypeLabel     *string        `json:"lnd_tx_type_label" db:"lnd_tx_type_label"`
	LndShortChannelId  *string        `json:"lnd_short_chan_id" db:"lnd_short_chan_id"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL