models

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InternalDumpPrivateKey

type InternalDumpPrivateKey struct {
	PrivateKey *primitives.PrivateKey
}

InternalDumpPrivateKey the true to form dumpprivkey response from the bitcoin node.

func (*InternalDumpPrivateKey) UnmarshalJSON

func (i *InternalDumpPrivateKey) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshal the response.

type InternalFundRawTransaction

type InternalFundRawTransaction struct {
	*models.FundRawTransaction
	Hex    string  `json:"hex"`
	BsvFee float64 `json:"fee"`
}

InternalFundRawTransaction the true to form fundrawtransaction response.

func (*InternalFundRawTransaction) PostProcess

func (i *InternalFundRawTransaction) PostProcess() error

PostProcess an RPC response.

type InternalSignRawTransaction

type InternalSignRawTransaction struct {
	Hex string `json:"hex"`
	*models.SignedRawTransaction
}

InternalSignRawTransaction the true to form signrawtransaction response.

func (*InternalSignRawTransaction) PostProcess

func (i *InternalSignRawTransaction) PostProcess() error

PostProcess an RPC response.

type InternalTransaction

type InternalTransaction struct {
	*models.Transaction
	Amount  float64 `json:"amount"`
	Fee     float64 `json:"fee"`
	Hex     string  `json:"hex"`
	Details []struct {
		Account   string  `json:"account"`
		Address   string  `json:"address"`
		Category  string  `json:"category"`
		Amount    float64 `json:"amount"`
		Label     string  `json:"label"`
		Vout      uint32  `json:"vout"`
		Fee       float64 `json:"fee"`
		Abandoned bool    `json:"abandoned"`
	} `json:"details"`
}

InternalTransaction the true to form transaction response from the bitcoin node.

func (*InternalTransaction) PostProcess

func (i *InternalTransaction) PostProcess() error

PostProcess an RPC response.

Jump to

Keyboard shortcuts

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