client

package
v1.1.7-mainnet Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CfxClient

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

func MustNewCfxClientFromViper

func MustNewCfxClientFromViper() (*CfxClient, bool)

func (*CfxClient) GetFilterChanges

func (client *CfxClient) GetFilterChanges(filterID rpc.ID) (val *cfxtypes.CfxFilterChanges, err error)

func (*CfxClient) GetLogFilter

func (client *CfxClient) GetLogFilter(filterID rpc.ID) (val *cfxtypes.LogFilter, err error)

func (*CfxClient) NewBlockFilter

func (client *CfxClient) NewBlockFilter(delFnUrl string) (val *rpc.ID, err error)

func (*CfxClient) NewFilter

func (client *CfxClient) NewFilter(delFnUrl string, filterCrit *cfxtypes.LogFilter) (val *rpc.ID, err error)

func (*CfxClient) NewPendingTransactionFilter

func (client *CfxClient) NewPendingTransactionFilter(delFnUrl string) (val *rpc.ID, err error)

func (*CfxClient) UninstallFilter

func (client *CfxClient) UninstallFilter(filterID rpc.ID) (val bool, err error)

type EthClient

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

func MustNewEthClientFromViper

func MustNewEthClientFromViper() (*EthClient, bool)

func (*EthClient) GetFilterChanges

func (client *EthClient) GetFilterChanges(filterID rpc.ID) (val *ethtypes.FilterChanges, err error)

func (*EthClient) GetLogFilter

func (client *EthClient) GetLogFilter(filterID rpc.ID) (val *ethtypes.FilterQuery, err error)

func (*EthClient) NewBlockFilter

func (client *EthClient) NewBlockFilter(delFnUrl string) (val *rpc.ID, err error)

func (*EthClient) NewFilter

func (client *EthClient) NewFilter(delFnUrl string, fq *ethtypes.FilterQuery) (val *rpc.ID, err error)

func (*EthClient) NewPendingTransactionFilter

func (client *EthClient) NewPendingTransactionFilter(delFnUrl string) (val *rpc.ID, err error)

func (*EthClient) UninstallFilter

func (client *EthClient) UninstallFilter(filterID rpc.ID) (val bool, err error)

Jump to

Keyboard shortcuts

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