Skip to content

Commit

Permalink
fixup! fixup! chore: blockscout example project
Browse files Browse the repository at this point in the history
Signed-off-by: Nadezhda Popova <[email protected]>
  • Loading branch information
nadezhdapopovaa committed Jan 15, 2025
1 parent ed6fe9b commit befae87
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/blockscout-example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
BATCH_REQUESTS_ENABLED: "${BATCH_REQUESTS_ENABLED}"
```
- adjust the port of **hedera-explorer**:
- adjust the port of **hedera-explorer** in order to free up the default port on which blockscout is running:
```
ports:
- "9080:8080"
Expand Down Expand Up @@ -59,7 +59,8 @@
- blockscout doc: https://docs.blockscout.com/devs/apis/rpc/account#get-the-native-token-balance-for-an-address
- make sure to replace `instance_base_url` with `localhost`
- when testing different moduls make sure to give the correct value for `module`
- choose an `accountAddress` from one of the accounts that the local node generates upon starting
- curl request:
```bash
curl --location 'http://localhost/api?module=account&action=balance&address=0x05FbA803Be258049A27B820088bab1cAD2058871'
curl --location 'http://localhost/api?module=account&action=balance&address={accountAddress}'
```

0 comments on commit befae87

Please sign in to comment.