Versions in this module Expand all Collapse all v0 v0.9.1 Dec 24, 2021 Changes in this version + type PublicAPI struct + func NewPublicAPI(logger log.Logger, clientCtx client.Context, backend backend.Backend, ...) *PublicAPI + func (e *PublicAPI) Accounts() ([]common.Address, error) + func (e *PublicAPI) BlockNumber() (hexutil.Uint64, error) + func (e *PublicAPI) Call(args evmtypes.TransactionArgs, blockNrOrHash rpctypes.BlockNumberOrHash, ...) (hexutil.Bytes, error) + func (e *PublicAPI) ChainId() (*hexutil.Big, error) + func (e *PublicAPI) ClientCtx() client.Context + func (e *PublicAPI) Coinbase() (string, error) + func (e *PublicAPI) Ctx() context.Context + func (e *PublicAPI) EstimateGas(args evmtypes.TransactionArgs, blockNrOptional *rpctypes.BlockNumber) (hexutil.Uint64, error) + func (e *PublicAPI) FeeHistory(blockCount rpc.DecimalOrHex, lastBlock rpc.BlockNumber, ...) (*rpctypes.FeeHistoryResult, error) + func (e *PublicAPI) FillTransaction(args evmtypes.TransactionArgs) (*rpctypes.SignTransactionResult, error) + func (e *PublicAPI) GasPrice() (*hexutil.Big, error) + func (e *PublicAPI) GetBalance(address common.Address, blockNrOrHash rpctypes.BlockNumberOrHash) (*hexutil.Big, error) + func (e *PublicAPI) GetBlockByHash(hash common.Hash, fullTx bool) (map[string]interface{}, error) + func (e *PublicAPI) GetBlockByNumber(ethBlockNum rpctypes.BlockNumber, fullTx bool) (map[string]interface{}, error) + func (e *PublicAPI) GetBlockTransactionCountByHash(hash common.Hash) *hexutil.Uint + func (e *PublicAPI) GetBlockTransactionCountByNumber(blockNum rpctypes.BlockNumber) *hexutil.Uint + func (e *PublicAPI) GetCode(address common.Address, blockNrOrHash rpctypes.BlockNumberOrHash) (hexutil.Bytes, error) + func (e *PublicAPI) GetPendingTransactions() ([]*rpctypes.RPCTransaction, error) + func (e *PublicAPI) GetProof(address common.Address, storageKeys []string, ...) (*rpctypes.AccountResult, error) + func (e *PublicAPI) GetStorageAt(address common.Address, key string, blockNrOrHash rpctypes.BlockNumberOrHash) (hexutil.Bytes, error) + func (e *PublicAPI) GetTransactionByBlockHashAndIndex(hash common.Hash, idx hexutil.Uint) (*rpctypes.RPCTransaction, error) + func (e *PublicAPI) GetTransactionByBlockNumberAndIndex(blockNum rpctypes.BlockNumber, idx hexutil.Uint) (*rpctypes.RPCTransaction, error) + func (e *PublicAPI) GetTransactionByHash(hash common.Hash) (*rpctypes.RPCTransaction, error) + func (e *PublicAPI) GetTransactionCount(address common.Address, blockNrOrHash rpctypes.BlockNumberOrHash) (*hexutil.Uint64, error) + func (e *PublicAPI) GetTransactionLogs(txHash common.Hash) ([]*ethtypes.Log, error) + func (e *PublicAPI) GetTransactionReceipt(hash common.Hash) (map[string]interface{}, error) + func (e *PublicAPI) GetUncleByBlockHashAndIndex(hash common.Hash, idx hexutil.Uint) map[string]interface{} + func (e *PublicAPI) GetUncleByBlockNumberAndIndex(number, idx hexutil.Uint) map[string]interface{} + func (e *PublicAPI) GetUncleCountByBlockHash(hash common.Hash) hexutil.Uint + func (e *PublicAPI) GetUncleCountByBlockNumber(blockNum rpctypes.BlockNumber) hexutil.Uint + func (e *PublicAPI) Hashrate() hexutil.Uint64 + func (e *PublicAPI) MaxPriorityFeePerGas() (*hexutil.Big, error) + func (e *PublicAPI) Mining() bool + func (e *PublicAPI) ProtocolVersion() hexutil.Uint + func (e *PublicAPI) QueryClient() *rpctypes.QueryClient + func (e *PublicAPI) Resend(ctx context.Context, args evmtypes.TransactionArgs, gasPrice *hexutil.Big, ...) (common.Hash, error) + func (e *PublicAPI) SendRawTransaction(data hexutil.Bytes) (common.Hash, error) + func (e *PublicAPI) SendTransaction(args evmtypes.TransactionArgs) (common.Hash, error) + func (e *PublicAPI) Sign(address common.Address, data hexutil.Bytes) (hexutil.Bytes, error) + func (e *PublicAPI) Syncing() (interface{}, error)