Skip to content

Version 1.0.4

Compare
Choose a tag to compare
@ricmoo ricmoo released this 16 Sep 06:50
· 1920 commits to master since this release

Added Wallet.parseTransaction(rawTransaction) which will parse a Buffer or hex string representing a transaction (and recover the from address, if possible) and return a new object with the following key:

  • nonce (BN)
  • gasPrice (BN)
  • gasLimit (BN)
  • to (checksum address string)
  • value (BN)
  • data (Buffer)
  • v (Number)
  • r (Buffer)
  • s (Buffer)
  • from (checksum address string)