Copyright | Alexander Krupenkin 2016 |
---|---|
License | BSD3 |
Maintainer | mail@akru.me |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Common used types and instances.
- newtype Web3 a b = Web3 {}
- data Web3Error
- data RpcError = RpcError {}
- data Filter = Filter {}
- newtype FilterId = FilterId Int
- data Change = Change {}
- data Call = Call {}
- data CallMode
- type TxHash = Text
- data Transaction = Transaction {}
- data Block = Block {
- blockNumber :: Text
- blockHash :: Text
- blockParentHash :: Text
- blockNonce :: Maybe Text
- blockSha3Uncles :: Text
- blockLogsBloom :: Text
- blockTransactionsRoot :: Text
- blockStateRoot :: Text
- blockReceiptRoot :: Maybe Text
- blockMiner :: Address
- blockDifficulty :: Text
- blockTotalDifficulty :: Text
- blockExtraData :: Text
- blockSize :: Text
- blockGasLimit :: Text
- blockGasUsed :: Text
- blockTimestamp :: Text
- blockTransactions :: [Transaction]
- blockUncles :: [Text]
Documentation
Any communication with Ethereum node wrapped with Web3
monad
Some peace of error response
JsonRpcFail RpcError | JSON-RPC communication error |
ParserFail String | Error in parser state |
UserFail String | Common head for user errors |
JSON-RPC error message
Low-level event filter data structure
Filter | |
|
Event filder ident
Changes pulled by low-level call eth_getFilterChanges
Change | |
|
The contract call params
The contract call mode describe used state: latest or pending
data Transaction Source #
Transaction information
Transaction | |
|
Block information
Block | |
|