Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Annotations ¶
type Annotations struct {
Inputs InputAnnotations
Outputs OutputsAnnotations
}
Annotations represents a transaction metadata that will be used by server to properly handle given transaction.
type InputAnnotation ¶
type InputAnnotation struct {
// CustomInstructions has instructions about how to unlock this input.
CustomInstructions bsv.CustomInstructions
}
InputAnnotation represents the metadata for the input.
type InputAnnotations ¶
type InputAnnotations map[int]*InputAnnotation
InputAnnotations represents the metadata for chosen inputs. The key is the index of the input.
type OutputAnnotation ¶
type OutputAnnotation struct {
// Bucket says what type of bucket should this output be stored in.
Bucket bucket.Name
// Paymail is available if the output is the paymail output.
Paymail *PaymailAnnotation
// CustomInstructions has instructions about how to unlock this output.
CustomInstructions *bsv.CustomInstructions
}
OutputAnnotation represents the metadata for the output.
func NewDataOutputAnnotation ¶
func NewDataOutputAnnotation() *OutputAnnotation
NewDataOutputAnnotation constructs a new OutputAnnotation for the data output.
type OutputsAnnotations ¶
type OutputsAnnotations map[uint32]*OutputAnnotation
OutputsAnnotations represents the metadata for chosen outputs. The key is the index of the output.
type PaymailAnnotation ¶
type PaymailAnnotation api.ModelsPaymailAnnotationDetails
PaymailAnnotation is the metadata for the paymail output.
Click to show internal directories.
Click to hide internal directories.