package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Jun 30, 2020
License: Apache-2.0, BSD-2-Clause
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Handler sends a transaction.
type Request struct {
Inputs []string `json:"inputs"`
Outputs []utils.Output `json:"outputs"`
}
Request holds the inputs and outputs to send.
type Response struct {
TransactionID string `json:"transaction_id,omitempty"`
Error string `json:"error,omitempty"`
}
Response is the HTTP response from sending transaction.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.