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: 0

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