 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
const ( MetricsNamespace = "op_indexer_api" // Endpoint paths // NOTE - This can be further broken out over time as new version iterations // are implemented HealthPath = "/healthz" DepositsPath = "/api/v0/deposits/" WithdrawalsPath = "/api/v0/withdrawals/" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶ added in v1.2.0
type API struct {
	// contains filtered or unexported fields
}
    Api ... Indexer API struct TODO : Structured error responses
func NewApi ¶
func NewApi(logger log.Logger, bv database.BridgeTransfersView, serverConfig config.ServerConfig, metricsConfig config.ServerConfig) *API
NewApi ... Construct a new api instance
 Click to show internal directories. 
   Click to hide internal directories.