Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type UTXOItem ¶
type UTXOItem struct {
TxID string `json:"tx"` // hex-encoded transaction ID (byte-reversed)
VOut uint32 `json:"vout"` // transaction output number
Value koinu.Koinu `json:"value"` // UTXO value to 8 decimal places, as a decimal string
Type string `json:"type"` // UTXO type (determines what you need to sign it)
Script string `json:"script"` // hex-encoded UTXO locking script (needed to sign the UTXO)
}
type UTXOResponse ¶
type UTXOResponse struct {
UTXO []UTXOItem `json:"utxo"`
}
type WebAPI ¶
type WebAPI struct {
governor.ServiceCtx
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.