Versions in this module Expand all Collapse all v0 v0.19.9 Oct 25, 2021 Changes in this version + type Backend interface + BlockNumber func() (hexutil.Uint64, error) + BloomStatus func() (uint64, uint64) + ConvertToBlockNumber func(rpctypes.BlockNumberOrHash) (rpctypes.BlockNumber, error) + GetBlockByHash func(hash common.Hash, fullTx bool) (interface{}, error) + GetBlockByNumber func(blockNum rpctypes.BlockNumber, fullTx bool) (interface{}, error) + GetLogs func(blockHash common.Hash) ([][]*ethtypes.Log, error) + GetTransactionLogs func(txHash common.Hash) ([]*ethtypes.Log, error) + HeaderByHash func(blockHash common.Hash) (*ethtypes.Header, error) + HeaderByNumber func(blockNum rpctypes.BlockNumber) (*ethtypes.Header, error) + LatestBlockNumber func() (int64, error) + PendingAddressList func() ([]string, error) + PendingTransactionCnt func() (int, error) + PendingTransactions func() ([]*rpctypes.Transaction, error) + PendingTransactionsByHash func(target common.Hash) (*rpctypes.Transaction, error) + ServiceFilter func(ctx context.Context, session *bloombits.MatcherSession) + UserPendingTransactions func(address string, limit int) ([]*rpctypes.Transaction, error) + UserPendingTransactionsCnt func(address string) (int, error) + type EthermintBackend struct + func New(clientCtx clientcontext.CLIContext, log log.Logger, ...) *EthermintBackend + func (b *EthermintBackend) BlockNumber() (hexutil.Uint64, error) + func (b *EthermintBackend) BloomStatus() (uint64, uint64) + func (b *EthermintBackend) Close() + func (b *EthermintBackend) ConvertToBlockNumber(blockNumberOrHash rpctypes.BlockNumberOrHash) (rpctypes.BlockNumber, error) + func (b *EthermintBackend) GetBlockByHash(hash common.Hash, fullTx bool) (interface{}, error) + func (b *EthermintBackend) GetBlockByNumber(blockNum rpctypes.BlockNumber, fullTx bool) (interface{}, error) + func (b *EthermintBackend) GetBlockHashByHeight(height rpctypes.BlockNumber) (common.Hash, error) + func (b *EthermintBackend) GetLogs(blockHash common.Hash) ([][]*ethtypes.Log, error) + func (b *EthermintBackend) GetRateLimiter(apiName string) *rate.Limiter + func (b *EthermintBackend) GetTransactionLogs(txHash common.Hash) ([]*ethtypes.Log, error) + func (b *EthermintBackend) HeaderByHash(blockHash common.Hash) (*ethtypes.Header, error) + func (b *EthermintBackend) HeaderByNumber(blockNum rpctypes.BlockNumber) (*ethtypes.Header, error) + func (b *EthermintBackend) IsDisabled(apiName string) bool + func (b *EthermintBackend) LatestBlockNumber() (int64, error) + func (b *EthermintBackend) PendingAddressList() ([]string, error) + func (b *EthermintBackend) PendingTransactionCnt() (int, error) + func (b *EthermintBackend) PendingTransactions() ([]*rpctypes.Transaction, error) + func (b *EthermintBackend) PendingTransactionsByHash(target common.Hash) (*rpctypes.Transaction, error) + func (b *EthermintBackend) ServiceFilter(ctx context.Context, session *bloombits.MatcherSession) + func (b *EthermintBackend) StartBloomHandlers(sectionSize uint64, db dbm.DB) + func (b *EthermintBackend) UserPendingTransactions(address string, limit int) ([]*rpctypes.Transaction, error) + func (b *EthermintBackend) UserPendingTransactionsCnt(address string) (int, error)