Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
func NewClient(mercuryConfig mercury.MercuryConfigProvider, httpClient mercury.HttpClient, threadCtrl utils.ThreadControl, lggr logger.Logger) *client
Types ¶
type MercuryV03Report ¶
type MercuryV03Report struct { FeedID string `json:"feedID"` // feed id in hex encoded ValidFromTimestamp uint32 `json:"validFromTimestamp"` ObservationsTimestamp uint32 `json:"observationsTimestamp"` FullReport string `json:"fullReport"` // the actual hex encoded mercury report of this feed, can be sent to verifier }
type MercuryV03Response ¶
type MercuryV03Response struct {
Reports []MercuryV03Report `json:"reports"`
}
Click to show internal directories.
Click to hide internal directories.