api

package
v1.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2026 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterVersionRoute added in v1.20.0

func RegisterVersionRoute(mux *http.ServeMux)

RegisterVersionRoute registers the /api/version endpoint on mux.

func RegisterWaitRoute added in v1.20.0

func RegisterWaitRoute(mux *http.ServeMux, c *cli.Command)

RegisterWaitRoute registers the /api/wait endpoint on mux. It waits for a transaction hash to be mined.

Types

type VersionResponse added in v1.20.0

type VersionResponse struct {
	Status  string `json:"status"`
	Error   string `json:"error"`
	Version string `json:"version"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL