query

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	*app.QueryConfig
	// contains filtered or unexported fields
}

func NewService

func NewService(_ context.Context, cfg *app.QueryConfig) (*Service, error)

func (*Service) AggregateAccounts

func (s *Service) AggregateAccounts(ctx context.Context, req *aggregate.AccountsReq) (*aggregate.AccountsRes, error)

func (*Service) AggregateAccountsHistory

func (s *Service) AggregateAccountsHistory(ctx context.Context, req *history.AccountsReq) (*history.AccountsRes, error)

func (*Service) AggregateMessages

func (s *Service) AggregateMessages(ctx context.Context, req *aggregate.MessagesReq) (*aggregate.MessagesRes, error)

func (*Service) AggregateMessagesHistory

func (s *Service) AggregateMessagesHistory(ctx context.Context, req *history.MessagesReq) (*history.MessagesRes, error)

func (*Service) AggregateTransactionsHistory

func (s *Service) AggregateTransactionsHistory(ctx context.Context, req *history.TransactionsReq) (*history.TransactionsRes, error)

func (*Service) FilterAccounts

func (s *Service) FilterAccounts(ctx context.Context, req *filter.AccountsReq) (*filter.AccountsRes, error)

func (*Service) FilterBlocks

func (s *Service) FilterBlocks(ctx context.Context, req *filter.BlocksReq) (*filter.BlocksRes, error)

func (*Service) FilterLabels added in v0.3.2

func (s *Service) FilterLabels(ctx context.Context, req *filter.LabelsReq) (*filter.LabelsRes, error)

func (*Service) FilterMessages

func (s *Service) FilterMessages(ctx context.Context, req *filter.MessagesReq) (*filter.MessagesRes, error)

func (*Service) FilterTransactions

func (s *Service) FilterTransactions(ctx context.Context, req *filter.TransactionsReq) (*filter.TransactionsRes, error)

func (*Service) GetDefinitions added in v0.4.1

func (s *Service) GetDefinitions(ctx context.Context) (map[abi.TLBType]abi.TLBFieldsDesc, error)

func (*Service) GetInterfaces

func (s *Service) GetInterfaces(ctx context.Context) ([]*core.ContractInterface, error)

func (*Service) GetLabelCategories added in v0.3.2

func (s *Service) GetLabelCategories(_ context.Context) ([]core.LabelCategory, error)

func (*Service) GetOperations

func (s *Service) GetOperations(ctx context.Context) ([]*core.ContractOperation, error)

func (*Service) GetStatistics

func (s *Service) GetStatistics(ctx context.Context) (*aggregate.Statistics, error)

Jump to

Keyboard shortcuts

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