Returns the current ethereum protocol version.
Moduleweb3-ethereum-1.1.0.1Haskell2010
Network.Ethereum.Api.Eth
Ethereum node JSON-RPC API methods with eth_ prefix.
- 44 values
- Packageweb3-ethereum-1.1.0.1
- Exports44
- LanguageHaskell2010
- LicenceApache-2.0
- SourceEth.hs
Returns an object with data about the sync status or false.
Returns the client coinbase address.
Returns true if client is actively mining new blocks.
Returns the number of hashes per second that the node is mining with.
Returns the value from a storage position at a given address.
Returns the number of transactions sent from an address.
Returns the number of transactions in a block from a block matching the given block hash.
Returns the number of transactions in a block matching the given block number.
Returns the number of uncles in a block from a block matching the given block hash.
Returns the number of uncles in a block from a block matching the given block number.
Returns code at a given address.
Returns an Ethereum specific signature with: sign(keccak256("x19Ethereum Signed Message:n" + len(message) + message))).
Creates new message call transaction or a contract creation, if the data field contains code.
Creates new message call transaction or a contract creation for signed transactions.
Returns the balance of the account of given address.
Creates a filter object, based on filter options, to notify when the state changes (logs). To check if the state has changed, call getFilterChanges.
Polling method for a filter, which returns an array of logs which occurred since last poll.
Uninstalls a filter with given id. Should always be called when watch is no longer needed.
Returns an array of all logs matching a given filter object.
Executes a new message call immediately without creating a transaction on the block chain.
Makes a call or transaction, which won't be added to the blockchain and returns the used gas, which can be used for estimating the used gas.
Returns transaction base fee per gas and effective priority fee per gas for the requested/supported block range.
Returns information about a block by hash with only hashes of the transactions in it.
Returns information about a block by block number with only hashes of the transactions in it.
Returns information about a block by hash.
Returns information about a block by block number.
Returns the information about a transaction requested by transaction hash.
Returns information about a transaction by block hash and transaction index position.
Returns information about a transaction by block number and transaction index position.
Returns the receipt of a transaction by transaction hash.
Returns a list of addresses owned by client.
Creates a filter in the node, to notify when a new block arrives.
Polling method for a block filter, which returns an array of block hashes occurred since last poll.
Returns the number of most recent block.
Returns the current price per gas in wei.
Returns information about a uncle of a block by hash and uncle index position.
Returns information about a uncle of a block by number and uncle index position.
Creates a filter in the node, to notify when new pending transactions arrive. To check if the state has changed, call getFilterChanges. Returns a FilterId.
Returns an array of all logs matching filter with given id.
Returns the hash of the current block, the seedHash, and the boundary condition to be met ("target").
Used for submitting a proof-of-work solution. Parameters: 1. DATA, 8 Bytes - The nonce found (64 bits) 2. DATA, 32 Bytes - The header's pow-hash (256 bits) 3. DATA, 32 Bytes - The mix digest (256 bits)
Used for submitting mining hashrate. Parameters: 1. Hashrate, a hexadecimal string representation (32 bytes) of the hash rate 2. ID, String - A random hexadecimal(32 bytes) ID identifying the client
Returns the chain ID of the current network.