get
The get
command allows you to get a transaction object or status by its hash. Returns an object containing the data
and the status
. If -s
flag is set, only the status of the transaction is printed out.
Status
In Mempool
- Indicates that the transaction is in the mempool.In Pushpool
- Indicates that the transaction is in the push pool.Confirmed
- Indicates that the transaction has been added into a confirmed block.
Usage
Arguments
hash
- The transaction hash.
Options
-s, --status
- Print out the status of the transaction only.-h, --help
- Prints out a help message.
Example
Get a transaction by its hash.
Get only the status of a transaction
Last updated