doidapi

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: Apache-2.0 Imports: 13 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterAPI

func RegisterAPI(chain *core.BlockChain)

Types

type DOIDApi

type DOIDApi struct {
	// contains filtered or unexported fields
}

func (*DOIDApi) GetOwner

func (api *DOIDApi) GetOwner(params DOIDName) (string, error)

func (*DOIDApi) GetOwnerDOIDNames

func (api *DOIDApi) GetOwnerDOIDNames(owner types.Hash) ([]string, error)

func (*DOIDApi) Status

func (api *DOIDApi) Status(DOID string) (string, error)

Status checks if a name is registered or available or reserved for registration

type DOIDName

type DOIDName struct {
	DOID  string     `json:"DOID"`
	Owner types.Hash `json:"owner"`
}

type PublicTransactionPoolAPI

type PublicTransactionPoolAPI struct {
	// contains filtered or unexported fields
}

func (*PublicTransactionPoolAPI) SendTransaction

func (api *PublicTransactionPoolAPI) SendTransaction(input json.RawMessage) (types.Hash, error)

func (*PublicTransactionPoolAPI) Sign

func (api *PublicTransactionPoolAPI) Sign(input json.RawMessage) (string, error)

Jump to

Keyboard shortcuts

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