Skip to content

Commit

Permalink
docs: add nonce examples
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Jul 8, 2024
1 parent a6d03aa commit c0e2ba8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,5 +171,8 @@ Query account transactions from Etherscan using the following syntax:
from ape import chain

history = chain.history["vitalik.eth"]
result = history.query("*", engine_to_use="etherscan")

# NOTE: Also showing how you can use `start_nonce=` and `stop_nonce=`
# to limit the history.
result = history.query("*", start_nonce=1000, stop_nonce=1001, engine_to_use="etherscan")
```

0 comments on commit c0e2ba8

Please sign in to comment.