build_btc_tx

package
v0.0.0-...-bcfa5ee Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionTypeData

type ActionTypeData struct {
	Task *constant.Task
}

type BuildBtcTxType

type BuildBtcTxType struct {
	// contains filtered or unexported fields
}

func New

func New(logger i_logger.ILogger) *BuildBtcTxType

func (*BuildBtcTxType) Start

func (p *BuildBtcTxType) Start(ctx context.Context, task *constant.Task) (any, error)

type Config

type Config struct {
	BtcNodeUrl     string                  `json:"btc_node_url"`
	UTXOs          []*go_coin_btc.OutPoint `json:"utxos"`
	Wif            string                  `json:"wif"`
	ChangeAddress  string                  `json:"change_address"`
	TargetAddress  string                  `json:"target_address"`
	TargetValueBtc float64                 `json:"target_value_btc"`
	FeeRate        int64                   `json:"fee_rate"`
}

Jump to

Keyboard shortcuts

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