outlines

package
v1.0.0-beta.37 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	Create(ctx context.Context, spec *TransactionSpec) (*Transaction, error)
}

Service is a service for creating transaction outlines.

func NewService

func NewService(paymailService paymail.ServiceClient, paymailAddressService paymailaddress.Service, logger zerolog.Logger) Service

NewService creates a new transaction outlines service.

type Transaction

type Transaction struct {
	BEEF        string
	Annotations transaction.Annotations
}

Transaction represents a transaction outline.

type TransactionSpec

type TransactionSpec struct {
	Outputs *outputs.Specifications
	XPubID  string
}

TransactionSpec represents client provided specification for a transaction outline.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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