forked from gakonst/ethers-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cast): implement
cast receipt
(gakonst#535)
* feat(cast): implement `cast receipt` This commit implements `cast receipt`. If the receipt is not found, it will poll until it is found. Similar to `seth`, an optional field can be passed to only print a particular field on the receipt response. Unlike `seth`, there is a `--json/-j` flag that will render the receipt as JSON. Example usage: ```bash cast receipt --rpc-url https://mainnet.optimism.io \ 0xa9fc1761ecad57693d7000b7bd8aea8ae5c3c34a1fcf966097778068c82c86cc ``` * fix: use PendingTx to poll for a tx's receipt Co-authored-by: Georgios Konstantopoulos <[email protected]>
- Loading branch information
Showing
4 changed files
with
91 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters