Module

Network.Ethereum.Web3.Types.Types

Package
purescript-web3
Repository
f-o-a-m/purescript-web3

#ChainCursor Source

data ChainCursor

Refers to a particular block time, used when making calls, transactions, or watching for events.

Constructors

Instances

#Block Source

newtype Block

Constructors

Instances

#Transaction Source

newtype Transaction

Constructors

Instances

#TransactionReceipt Source

newtype TransactionReceipt

Constructors

Instances

#ETH Source

data ETH :: Effect

Instances

#forkWeb3 Source

forkWeb3 :: forall a e. Provider -> Web3 e a -> Aff (eth :: ETH | e) (Fiber (eth :: ETH | e) (Either Web3Error a))

Fork an asynchronous ETH action

#forkWeb3' Source

forkWeb3' :: forall a e. Web3 e a -> Web3 e (Fiber (eth :: ETH | e) (Either Web3Error a))

Fork an asynchronous ETH action inside Web3 monad

#runWeb3 Source

runWeb3 :: forall a e. Provider -> Web3 e a -> Aff (eth :: ETH | e) (Either Web3Error a)

Run an asynchronous ETH action

#Web3 Source

newtype Web3 e a

A monad for asynchronous Web3 actions

Constructors

Instances

#throwWeb3 Source

throwWeb3 :: forall a e. Error -> Web3 e a

#Filter Source

newtype Filter a

Low-level event filter data structure

Instances

#defaultFilter Source

defaultFilter :: forall a. Filter a

#_address Source

_address :: forall a. Lens' (Filter a) (Maybe Address)

#_topics Source

_topics :: forall a. Lens' (Filter a) (Maybe (Array (Maybe HexString)))

#_fromBlock Source

#_toBlock Source

_toBlock :: forall a. Lens' (Filter a) ChainCursor

#FilterId Source

newtype FilterId

Used by the ethereum client to identify the filter you are querying

Instances

#EventAction Source

data EventAction

EventAction Represents a flag to continue or discontinue listening to the filter

Constructors

Instances

#Change Source

newtype Change

Changes pulled by low-level call 'eth_getFilterChanges', 'eth_getLogs', and 'eth_getFilterLogs'

Constructors

Instances

#FalseOrObject Source

newtype FalseOrObject a

Newtype wrapper around Maybe to handle cases where Web3 passes back either false or some data type

Constructors

Instances

#unFalseOrObject Source

unFalseOrObject :: forall a. FalseOrObject a -> Maybe a

#SyncStatus Source

newtype SyncStatus

Constructors

Instances

#MethodName Source

type MethodName = String

Web3 RPC

#Request Source

#Response Source

newtype Response a

Constructors

Instances

#CallError Source

data CallError

Constructors

Instances