Versions in this module Expand all Collapse all v0 v0.18.15 May 17, 2022 Changes in this version + const RPCTxFeeCap + type Service struct + func NewService(ctx rpctypes.Web3Context) *Service + func (svc *Service) Accounts() ([]common.Address, error) + func (svc *Service) BlockNumber() hexutil.Big + func (svc *Service) Call(call rpctypes.CallArgs, blockNrOrHash rpc.BlockNumberOrHash) (hexutil.Bytes, error) + func (svc *Service) ChainId() (hexutil.Big, error) + func (svc *Service) Coinbase() (common.Address, error) + func (svc *Service) EstimateGas(call rpctypes.CallArgs) (hexutil.Uint64, error) + func (svc *Service) GasPrice() *hexutil.Big + func (svc *Service) GetBalance(address common.Address, blockNrOrHash rpc.BlockNumberOrHash) (*hexutil.Big, error) + func (svc *Service) GetBlockByHash(hash common.Hash, fullTx bool) (*rpctypes.Block, error) + func (svc *Service) GetBlockByNumber(blockNrOrHash rpc.BlockNumberOrHash, fullTx bool) (*rpctypes.Block, error) + func (svc *Service) GetBlockStore() *store.BlockStore + func (svc *Service) GetBlockTransactionCountByHash(hash common.Hash) *hexutil.Uint + func (svc *Service) GetBlockTransactionCountByNumber(blockNrOrHash rpc.BlockNumberOrHash) *hexutil.Uint + func (svc *Service) GetCode(address common.Address, blockNrOrHash rpc.BlockNumberOrHash) (hexutil.Bytes, error) + func (svc *Service) GetFilterChanges(id rpc.ID) (interface{}, error) + func (svc *Service) GetFilterLogs(id rpc.ID) ([]*ethtypes.Log, error) + func (svc *Service) GetLogs(crit ethfilters.FilterCriteria) ([]*ethtypes.Log, error) + func (svc *Service) GetMempool() mempool.Mempool + func (svc *Service) GetStateDB() *vm.CommitStateDB + func (svc *Service) GetStorageAt(address common.Address, key string, blockNrOrHash rpc.BlockNumberOrHash) (hexutil.Bytes, error) + func (svc *Service) GetTransactionByBlockHashAndIndex(hash common.Hash, idx hexutil.Uint64) (*rpctypes.Transaction, error) + func (svc *Service) GetTransactionByBlockNumberAndIndex(blockNrOrHash rpc.BlockNumberOrHash, idx hexutil.Uint64) (*rpctypes.Transaction, error) + func (svc *Service) GetTransactionByHash(hash common.Hash) (*rpctypes.Transaction, error) + func (svc *Service) GetTransactionCount(address common.Address, blockNrOrHash rpc.BlockNumberOrHash) (*hexutil.Uint64, error) + func (svc *Service) GetTransactionReceipt(hash common.Hash) (*rpctypes.TransactionReceipt, error) + func (svc *Service) GetUncleByBlockHashAndIndex(hash common.Hash, idx hexutil.Uint) *rpctypes.Block + func (svc *Service) GetUncleByBlockNumberAndIndex(number hexutil.Uint, idx hexutil.Uint) *rpctypes.Block + func (svc *Service) GetUncleCountByBlockHash(_ common.Hash) hexutil.Uint + func (svc *Service) GetUncleCountByBlockNumber(_ rpc.BlockNumberOrHash) hexutil.Uint + func (svc *Service) Hashrate() hexutil.Uint64 + func (svc *Service) Logs(ctx context.Context, crit filters.FilterCriteria) (*rpc.Subscription, error) + func (svc *Service) Mining() bool + func (svc *Service) NewBlockFilter() rpc.ID + func (svc *Service) NewFilter(crit ethfilters.FilterCriteria) (rpc.ID, error) + func (svc *Service) NewHeads(ctx context.Context) (*rpc.Subscription, error) + func (svc *Service) NewPendingTransactionFilter() rpc.ID + func (svc *Service) NewPendingTransactions(ctx context.Context) (*rpc.Subscription, error) + func (svc *Service) ProtocolVersion() string + func (svc *Service) SendRawTransaction(input hexutil.Bytes) (common.Hash, error) + func (svc *Service) Syncing() (interface{}, error) + func (svc *Service) UninstallFilter(id rpc.ID) bool