Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dariaag authored Feb 5, 2024
1 parent 907c623 commit 09c5a0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pip install ape-subsquid
You can clone the repository and use [`setuptools`](https://github.com/pypa/setuptools) for the most up-to-date version:

```bash
git clone https://github.com/ApeWorX/ape-subsquid.git
git clone https://github.com/subsquid/ape-subsquid.git
cd ape-subsquid
python3 setup.py install
```
Expand All @@ -34,11 +34,11 @@ The following queries can be executed via ApeWorX interactive console. Use `ape

```python
# BlockQuery
chain.blocks.query("*", stop_block=18_000_000, stop_block=18_000_010, engine_to_use='subsquid')
chain.blocks.query("*", start_block=18_000_000, stop_block=18_000_010, engine_to_use='subsquid')

# ContractEventQuery
contract = Contract('0xdac17f958d2ee523a2206206994597c13d831ec7', abi='<USDT_ABI>')
contract.Transfer.query('*', start_block=18_000_000, stop_block=18_000_000, engine_to_use='subsquid')
contract.Transfer.query('*', start_block=18_000_000, stop_block=18_000_100, engine_to_use='subsquid')
```

Supported queries are: `BlockQuery`, `AccountTransactionQuery`, `ContractCreationQuery`, `ContractEventQuery`.
Expand Down

0 comments on commit 09c5a0a

Please sign in to comment.