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 draft transactions.
func NewDraftService ¶
func NewDraftService(paymailService paymail.ServiceClient, paymailAddressService paymailaddress.Service, logger zerolog.Logger) Service
NewDraftService creates a new draft service.
type Transaction ¶
type Transaction struct { BEEF string Annotations *transaction.Annotations }
Transaction represents a transaction draft.
type TransactionSpec ¶
type TransactionSpec struct { Outputs *outputs.Specifications XPubID string }
TransactionSpec represents client provided specification for a transaction draft.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.