Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OutputID ¶
type OutputID struct {
ID string `json:"id"`
Balances []utils.Balance `json:"balances"`
InclusionState utils.InclusionState `json:"inclusion_state"`
}
OutputID holds the output id and its inclusion state
type Request ¶
type Request struct {
Addresses []string `json:"addresses,omitempty"`
Error string `json:"error,omitempty"`
}
Request holds the addresses to query.
type Response ¶
type Response struct {
UnspentOutputs []UnspentOutput `json:"unspent_outputs,omitempty"`
Error string `json:"error,omitempty"`
}
Response is the HTTP response from retrieving value objects.
type UnspentOutput ¶
type UnspentOutput struct {
Address string `json:"address"`
OutputIDs []OutputID `json:"output_ids"`
}
UnspentOutput holds the address and the corresponding unspent output ids
Click to show internal directories.
Click to hide internal directories.