cita

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CitaClient

type CitaClient struct {
	client.Client
}

func NewCitaClient

func NewCitaClient(config *config.Config) (*CitaClient, error)

func (*CitaClient) EventQuery added in v1.1.1

func (c *CitaClient) EventQuery() (*eventres.QueryEventResData, error)

func (*CitaClient) EventRegister added in v1.1.1

func (*CitaClient) EventRemove added in v1.1.1

func (*CitaClient) GetBlockHeight

func (c *CitaClient) GetBlockHeight() (*noderes.BlockHeightResData, error)

func (*CitaClient) GetBlockInfo

func (c *CitaClient) GetBlockInfo(body nodereq.BlockReqDataBody) (*noderes.BlockResData, error)

func (*CitaClient) GetTxInfoByTxHash

func (c *CitaClient) GetTxInfoByTxHash(body nodereq.TxTransReqDataBody) (*noderes.BlockTxResData, error)

func (*CitaClient) GetTxReceiptByTxHash

func (c *CitaClient) GetTxReceiptByTxHash(body nodereq.TxTransReqDataBody) (*noderes.BlockTxReceiptResData, error)

func (*CitaClient) RegisterUser

func (*CitaClient) ReqChainCode

func (c *CitaClient) ReqChainCode(body nodereq.TransReqDataBody) (*noderes.TransResData, error)

func (*CitaClient) Trans added in v1.1.1

Jump to

Keyboard shortcuts

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