web3-ethereum-1.0.0.0: Ethereum support for Haskell Web3 library.
CopyrightAleksandr Krupenkin 2016-2021
Roy Blankman 2018
LicenseApache-2.0
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