Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Parse raw transaction #85

Open
splix opened this issue Mar 20, 2018 · 2 comments
Open

Parse raw transaction #85

splix opened this issue Mar 20, 2018 · 2 comments

Comments

@splix
Copy link
Contributor

splix commented Mar 20, 2018

emerald parsetx <raw-tx> [--skip-data] [-h]

where:

  • --skip-data skips data putput
  • -h human friendly values. Should find closes valeu unit (Ether, Mwei, Gwei, etc), for example instead of Value (wei): 18451607206952527473 should be Value (Ether): 18.4516, for value and gas price

Example:

emerald parsetx 0xf863018301511582210094863a61ceb4694670fb0bb27da613eed60a565a0d808081a0a080c85533886b7cc2b34588812e9bf184cb7279c22b4ef78ac1f3ef2e75612a84a009b21594af0788db05f4ccdf5ccbe999e11ed8cbd110fb17d192094474681e38

        Address: 0x3fd9075a076b38b3a1c6c12e77912620c07968fd
          Nonce: 1
             To: 0x863a61ceb4694670fb0bb27da613eed60a565a0d
    Value (wei): 0
           Data: 
      Gas limit: 8448
Gas price (wei): 86293

(notice that values are not in hex but dec)

@r8d8
Copy link
Contributor

r8d8 commented Mar 27, 2018

Implement it as subcommand for transaction
Ex.:

$ emerald transaction parse 0xf8630183...

@r8d8 r8d8 closed this as completed Jun 22, 2018
@splix
Copy link
Contributor Author

splix commented Nov 9, 2018

$ emerald-vault transaction parse 0xf863018301511582210094863a61ceb4694670fb0bb27da613eed60a565a0d808081a0a080c85533886b7cc2b34588812e9bf184cb7279c22b4ef78ac1f3ef2e75612a84a009b21594af0788db05f4ccdf5ccbe999e11ed8cbd110fb17d192094474681e38
error: Found argument 'parse' which wasn't expected, or isn't valid in this context

USAGE:
    emerald-vault transaction [SUBCOMMAND]

For more information try --help

@splix splix reopened this Nov 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants