Versions in this module Expand all Collapse all v1 v1.0.0 Mar 26, 2021 Changes in this version + type PublicEthereumAPI struct + func NewAPI(clientCtx clientcontext.CLIContext, backend backend.Backend, ...) *PublicEthereumAPI + func (api *PublicEthereumAPI) Accounts() ([]common.Address, error) + func (api *PublicEthereumAPI) BlockNumber() (hexutil.Uint64, error) + func (api *PublicEthereumAPI) Call(args rpctypes.CallArgs, blockNr rpctypes.BlockNumber, ...) (hexutil.Bytes, error) + func (api *PublicEthereumAPI) ChainId() (hexutil.Uint, error) + func (api *PublicEthereumAPI) ClientCtx() clientcontext.CLIContext + func (api *PublicEthereumAPI) Coinbase() (common.Address, error) + func (api *PublicEthereumAPI) EstimateGas(args rpctypes.CallArgs) (hexutil.Uint64, error) + func (api *PublicEthereumAPI) GasPrice() *hexutil.Big + func (api *PublicEthereumAPI) GetBalance(address common.Address, blockNum rpctypes.BlockNumber) (*hexutil.Big, error) + func (api *PublicEthereumAPI) GetBlockByHash(hash common.Hash, fullTx bool) (map[string]interface{}, error) + func (api *PublicEthereumAPI) GetBlockByNumber(blockNum rpctypes.BlockNumber, fullTx bool) (map[string]interface{}, error) + func (api *PublicEthereumAPI) GetBlockTransactionCountByHash(hash common.Hash) *hexutil.Uint + func (api *PublicEthereumAPI) GetBlockTransactionCountByNumber(blockNum rpctypes.BlockNumber) *hexutil.Uint + func (api *PublicEthereumAPI) GetCode(address common.Address, blockNumber rpctypes.BlockNumber) (hexutil.Bytes, error) + func (api *PublicEthereumAPI) GetKeyringInfo() error + func (api *PublicEthereumAPI) GetKeys() []ethsecp256k1.PrivKey + func (api *PublicEthereumAPI) GetProof(address common.Address, storageKeys []string, block rpctypes.BlockNumber) (*rpctypes.AccountResult, error) + func (api *PublicEthereumAPI) GetStorageAt(address common.Address, key string, blockNum rpctypes.BlockNumber) (hexutil.Bytes, error) + func (api *PublicEthereumAPI) GetTransactionByBlockHashAndIndex(hash common.Hash, idx hexutil.Uint) (*rpctypes.Transaction, error) + func (api *PublicEthereumAPI) GetTransactionByBlockNumberAndIndex(blockNum rpctypes.BlockNumber, idx hexutil.Uint) (*rpctypes.Transaction, error) + func (api *PublicEthereumAPI) GetTransactionByHash(hash common.Hash) (*rpctypes.Transaction, error) + func (api *PublicEthereumAPI) GetTransactionCount(address common.Address, blockNum rpctypes.BlockNumber) (*hexutil.Uint64, error) + func (api *PublicEthereumAPI) GetTransactionLogs(txHash common.Hash) ([]*ethtypes.Log, error) + func (api *PublicEthereumAPI) GetTransactionReceipt(hash common.Hash) (map[string]interface{}, error) + func (api *PublicEthereumAPI) GetUncleByBlockHashAndIndex(hash common.Hash, idx hexutil.Uint) map[string]interface{} + func (api *PublicEthereumAPI) GetUncleByBlockNumberAndIndex(number hexutil.Uint, idx hexutil.Uint) map[string]interface{} + func (api *PublicEthereumAPI) GetUncleCountByBlockHash(_ common.Hash) hexutil.Uint + func (api *PublicEthereumAPI) GetUncleCountByBlockNumber(_ rpctypes.BlockNumber) hexutil.Uint + func (api *PublicEthereumAPI) Hashrate() hexutil.Uint64 + func (api *PublicEthereumAPI) Mining() bool + func (api *PublicEthereumAPI) PendingTransactions() ([]*rpctypes.Transaction, error) + func (api *PublicEthereumAPI) ProtocolVersion() hexutil.Uint + func (api *PublicEthereumAPI) SendRawTransaction(data hexutil.Bytes) (common.Hash, error) + func (api *PublicEthereumAPI) SendTransaction(args rpctypes.SendTxArgs) (common.Hash, error) + func (api *PublicEthereumAPI) SetKeys(keys []ethsecp256k1.PrivKey) + func (api *PublicEthereumAPI) Sign(address common.Address, data hexutil.Bytes) (hexutil.Bytes, error) + func (api *PublicEthereumAPI) Syncing() (interface{}, error)