emerald-vault-archive
emerald-vault-archive copied to clipboard
Parse raw transaction
emerald parsetx <raw-tx> [--skip-data] [-h]
where:
-
--skip-dataskips data putput -
-hhuman friendly values. Should find closes valeu unit (Ether, Mwei, Gwei, etc), for example instead ofValue (wei): 18451607206952527473should beValue (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)
Implement it as subcommand for transaction
Ex.:
$ emerald transaction parse 0xf8630183...
$ 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