Add get man page, remove chain spec arg from get, info

This commit is contained in:
lash
2022-02-24 10:36:15 +00:00
parent a3081367db
commit 7e6daa0be3
7 changed files with 55 additions and 5 deletions

17
man/get.head.groff Normal file
View File

@@ -0,0 +1,17 @@
.TH eth-get 1
.SH NAME
eth-get \- Retrieve transaction and transaction state from network
.SH SYNOPSIS
\fBeth-get\fP [ -p \fIrpc_provider\fP] \fItx_hash\fP
.SH DESCRIPTION
.P
Retrieve a transaction by its transaction hash.
.P
\fBeth-get\fP retrieves the state of the transaction (the "receipt") and applies it to the output.
.P
It also re-serializes the transaction wire format for reference.
.SS OPTIONS

27
man/info.head.groff Normal file
View File

@@ -0,0 +1,27 @@
.TH eth-info 1
.SH NAME
eth-info - Return key metrics from the current state of the EVM network.
.SH SYNOPSIS
\fBeth-info\fP [ -p \fIrpc_provider\fP ] [ \fIkey\fP ]
.SH DESCRIPTION
\fBeth-info\fP reports statistics from the current state of the EVM network:
.EX
$ eth-info
Block: 1024478
Gas price: 1000000000
.EE
An individual data item may be specified using the \fIkey\fP positional argument:
.EX
$ eth-info block
Block: 1024478
$ eth-info --raw gas_price
1000000000
.EE
.SS OPTIONS