chaindispatcher

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChainDispatcher

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

func New

func New(conf *config.Config) (*ChainDispatcher, error)

func (*ChainDispatcher) BuildSignedTransaction

func (*ChainDispatcher) ConvertAddress

func (*ChainDispatcher) CreateUnSignTransaction

func (*ChainDispatcher) DecodeTransaction

func (*ChainDispatcher) GetAccount

func (*ChainDispatcher) GetBlockByHash

func (d *ChainDispatcher) GetBlockByHash(ctx context.Context, request *account.BlockHashRequest) (*account.BlockResponse, error)

func (*ChainDispatcher) GetBlockByNumber

func (d *ChainDispatcher) GetBlockByNumber(ctx context.Context, request *account.BlockNumberRequest) (*account.BlockResponse, error)

func (*ChainDispatcher) GetBlockByRange

func (*ChainDispatcher) GetBlockHeaderByHash

func (*ChainDispatcher) GetBlockHeaderByNumber

func (d *ChainDispatcher) GetBlockHeaderByNumber(ctx context.Context, request *account.BlockHeaderNumberRequest) (*account.BlockHeaderResponse, error)

func (*ChainDispatcher) GetBlockHeaderByRange

func (d *ChainDispatcher) GetBlockHeaderByRange(ctx context.Context, request *account.BlockByRangeRequest) (*account.BlockByRangeResponse, error)

func (*ChainDispatcher) GetExtraData

func (*ChainDispatcher) GetFee

func (*ChainDispatcher) GetSupportChains

func (*ChainDispatcher) GetTxByAddress

func (*ChainDispatcher) GetTxByHash

func (d *ChainDispatcher) GetTxByHash(ctx context.Context, request *account.TxHashRequest) (*account.TxHashResponse, error)

func (*ChainDispatcher) Interceptor

func (d *ChainDispatcher) Interceptor(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (resp interface{}, err error)

func (*ChainDispatcher) SendTx

func (*ChainDispatcher) ValidAddress

func (*ChainDispatcher) VerifySignedTransaction

type ChainType

type ChainType = string

type CommonReply

type CommonReply = account.SupportChainsResponse

type CommonRequest

type CommonRequest interface {
	GetChain() string
}

Jump to

Keyboard shortcuts

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