Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDepositContract ¶
func GetDepositContract(w http.ResponseWriter, r *http.Request)
GetDepositContract retrieves deposit contract address and genesis fork version.
func GetForkSchedule ¶
func GetForkSchedule(w http.ResponseWriter, r *http.Request)
GetForkSchedule retrieve all scheduled upcoming forks this node is aware of.
func GetSpec ¶
func GetSpec(w http.ResponseWriter, r *http.Request)
GetSpec retrieves specification configuration (without Phase 1 params) used on this node. Specification params list Values are returned with following format: - any value starting with 0x in the spec is returned as a hex string. - all other values are returned as number.
Types ¶
type DepositContractData ¶
type GetDepositContractResponse ¶
type GetDepositContractResponse struct {
Data *DepositContractData `json:"data"`
}
type GetForkScheduleResponse ¶
type GetSpecResponse ¶
type GetSpecResponse struct {
Data interface{} `json:"data"`
}
Click to show internal directories.
Click to hide internal directories.