web3-0.8.4.0: Ethereum API for Haskell

CopyrightAlexander Krupenkin 2018
Roy Blankman 2018
LicenseBSD3
Maintainermail@akru.me
Stabilityexperimental
Portabilityunportable
Safe HaskellNone
LanguageHaskell2010

Network.Ethereum.Transaction

Description

Transaction managing utils.

Synopsis

Documentation

encodeTransaction Source #

Arguments

:: ByteArray ba 
=> Call

Transaction call

-> Integer

Chain ID

-> Maybe (Integer, Integer, Word8)

Should contain signature when transaction signed

-> ba

RLP encoded transaction

Ethereum transaction packer.

Two way RLP encoding of Ethereum transaction: for unsigned and signed. Packing scheme described in https://github.com/ethereum/EIPs/blob/master/EIPS/eip-155.md