web3-0.3.3.0: Ethereum API for Haskell

CopyrightAlexander Krupenkin 2016
LicenseBSD3
Maintainermail@akru.me
Stabilityexperimental
Portabilityunknown
Safe HaskellNone
LanguageHaskell2010

Network.Ethereum.Web3.Api

Description

Ethereum node JSON-RPC API methods.

Synopsis

Documentation

web3_clientVersion :: Web3 Text Source #

Returns current node version string.

web3_sha3 :: Text -> Web3 Text Source #

Returns Keccak-256 (not the standardized SHA3-256) of the given data.

eth_getBalance :: Address -> CallMode -> Web3 Text Source #

Returns the balance of the account of given address.

eth_newFilter :: Filter -> Web3 FilterId Source #

Creates a filter object, based on filter options, to notify when the state changes (logs). To check if the state has changed, call getFilterChanges.

eth_getFilterChanges :: FilterId -> Web3 [Change] Source #

Polling method for a filter, which returns an array of logs which occurred since last poll.

eth_uninstallFilter :: FilterId -> Web3 Bool Source #

Uninstalls a filter with given id. Should always be called when watch is no longer needed.

eth_call :: Call -> CallMode -> Web3 Text Source #

Executes a new message call immediately without creating a transaction on the block chain.

eth_sendTransaction :: Call -> Web3 Text Source #

Creates new message call transaction or a contract creation, if the data field contains code.

eth_accounts :: Web3 [Address] Source #

Returns a list of addresses owned by client.