models

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2022 License: ISC Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Destination

type Destination struct {
	Script   string `json:"script"`
	Satoshis uint64 `json:"satoshis"`
}

Destination is a payment output with locking script.

type DestinationResponse

type DestinationResponse struct {
	AncestryRequired bool          `json:"ancestryRequired"`
	Network          string        `json:"network"`
	Outputs          []Destination `json:"outputs"`
	Fees             *bt.FeeQuote  `json:"fees"`
	CreatedAt        time.Time     `json:"createdAt"`
	ExpiresAt        time.Time     `json:"expiresAt"`
}

DestinationResponse is the response for the destinations api.

type PayDPaymentRequest

type PayDPaymentRequest struct {
	Ancestry       *string                      `json:"ancestry"`
	RawTx          *string                      `json:"rawTx"`
	ProofCallbacks map[string]dpp.ProofCallback `json:"proofCallbacks"`
}

PayDPaymentRequest is used to send a payment to PayD for valdiation and storage.

Jump to

Keyboard shortcuts

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